java.lang.Object
net.i2p.servlet.filters.SameSiteCookieFilter
- All Implemented Interfaces:
Filter
Field Summary
Constructor Summary
ConstructorsConstructorDescriptionThe filter holds no configuration -init(FilterConfig)is a nop and the logger is static - so a bare instance is ready for the container to calldoFilter(ServletRequest, ServletResponse, FilterChain)on.Method Summary
All MethodsModifier and TypeMethodDescriptionvoiddestroy()voiddoFilter(ServletRequest request, ServletResponse response, FilterChain chain) voidinit(FilterConfig filterConfig)
Field Details
_log
Logger for this class.
Constructor Details
SameSiteCookieFilter
public SameSiteCookieFilter()The filter holds no configuration -init(FilterConfig)is a nop and the logger is static - so a bare instance is ready for the container to calldoFilter(ServletRequest, ServletResponse, FilterChain)on.
Method Details
init
- Specified by:
initin interfaceFilter- Throws:
ServletException
doFilter
public void doFilter(ServletRequest request, ServletResponse response, FilterChain chain) throws IOException, ServletException - Specified by:
doFilterin interfaceFilter- Throws:
IOExceptionServletException
destroy