Package io.vertigo.ui.impl.vuejs.filter
Class UnAutoCloseTagsFilter
java.lang.Object
io.vertigo.vega.impl.servlet.filter.AbstractFilter
io.vertigo.ui.impl.vuejs.filter.UnAutoCloseTagsFilter
- All Implemented Interfaces:
jakarta.servlet.Filter
Un AutoClosed Vue.js tags filter.
Vue.js has some weird behavior with autoclosed tags, they aren't executed normally.
This filter detected autoclosed tags, warn them in logs and replace with a end tags.
- Author:
- npiedeloup
-
Field Summary
Fields inherited from class io.vertigo.vega.impl.servlet.filter.AbstractFilter
EXCLUDE_PATTERN_PARAM_NAME -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoiddoInit()voiddoMyFilter(jakarta.servlet.ServletRequest req, jakarta.servlet.ServletResponse res, jakarta.servlet.FilterChain chain) Methods inherited from class io.vertigo.vega.impl.servlet.filter.AbstractFilter
destroy, doFilter, getFilterConfig, init, isUrlMatch, isUrlMatch, parsePattern
-
Constructor Details
-
UnAutoCloseTagsFilter
public UnAutoCloseTagsFilter()
-
-
Method Details
-
doInit
public void doInit()- Specified by:
doInitin classAbstractFilter
-
doMyFilter
public void doMyFilter(jakarta.servlet.ServletRequest req, jakarta.servlet.ServletResponse res, jakarta.servlet.FilterChain chain) throws IOException, jakarta.servlet.ServletException - Specified by:
doMyFilterin classAbstractFilter- Throws:
IOExceptionjakarta.servlet.ServletException
-