Example usage for Java javax.servlet Filter fields, constructors, methods, implement or subclass
The text is from its open source code.
void | destroy() Called by the web container to indicate to a filter that it is being taken out of service. This method is only called once all threads within the filter's doFilter method have exited or after a timeout period has passed. |
void | doFilter(ServletRequest request, ServletResponse response, FilterChain chain) The doFilter method of the Filter is called by the container each time a request/response pair is passed through the chain due to a client request for a resource at the end of the chain. |
Class> | getClass() Returns the runtime class of this Object . |
void | init(FilterConfig filterConfig) Called by the web container to indicate to a filter that it is being placed into service. The servlet container calls the init method exactly once after instantiating the filter. |
String | toString() Returns a string representation of the object. |