java.lang.Object
net.i2p.servlet.filters.XSSFilter
- All Implemented Interfaces:
Filter
Constructor Summary
ConstructorsConstructorDescriptionThe filter keeps no configuration -init(FilterConfig)and destroy() are nops and the request wrapper is built per request - so a bare instance is ready to use.Method Summary
All MethodsModifier and TypeMethodDescriptionvoiddestroy()voiddoFilter(ServletRequest request, ServletResponse response, FilterChain chain) voidinit(FilterConfig filterConfig)
Constructor Details
XSSFilter
public XSSFilter()The filter keeps no configuration -init(FilterConfig)and destroy() are nops and the request wrapper is built per request - so a bare instance is ready to use.
Method Details
init
- Specified by:
initin interfaceFilter- Throws:
ServletException
destroy
doFilter
public void doFilter(ServletRequest request, ServletResponse response, FilterChain chain) throws IOException, ServletException - Specified by:
doFilterin interfaceFilter- Throws:
IOExceptionServletException