public interface FilterChain
Filter
Modifier and Type | Method and Description |
---|---|
void |
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 related error has occurred during the processingServletException
- if an exception has occurred that interferes with the filterChain's normal operation