public interface FilterChainA FilterChain is an object provided by the servlet container to the developer giving a view into the invocation chain of a filtered request for a resource. Filters use the FilterChain to invoke the next filter in the chain, or if the calling filter is the last filter in the chain, to invoke the resource at the end of the chain.
- Servlet 2.3
- See Also:
All Methods Instance Methods Abstract Methods Modifier and Type Method Description
doFilter(ServletRequest request, ServletResponse response)Causes the next filter in the chain to be invoked, or if the calling filter is the last filter in the chain, causes the resource at the end of the chain to be invoked.
void doFilter(ServletRequest request, ServletResponse response) throws java.io.IOException, ServletException
request- the request to pass along the chain.
response- the response to pass along the chain.
java.io.IOException- if an I/O error occurs during the processing of the request
ServletException- if the processing fails for any other reason