| java.lang.Object org.apache.catalina.core.ApplicationFilterChain
ApplicationFilterChain | final class ApplicationFilterChain implements FilterChain(Code) | | Implementation of javax.servlet.FilterChain used to manage
the execution of a set of filters for a particular request. When the
set of defined filters has all been executed, the next call to
doFilter() will execute the servlet's service()
method itself.
author: Craig R. McClanahan version: $Revision: 1.10 $ $Date: 2004/05/26 15:36:20 $ |
Field Summary | |
final public static int | INCREMENT |
Method Summary | |
void | addFilter(ApplicationFilterConfig filterConfig) Add a filter to the set of filters that will be executed in this chain. | public void | doFilter(ServletRequest request, ServletResponse response) Invoke the next filter in this chain, passing the specified request
and response. | void | release() Release references to the filters and wrapper executed by this chain. | void | setServlet(Servlet servlet) Set the servlet that will be executed at the end of this chain. | void | setSupport(InstanceSupport support) Set the InstanceSupport object used for event notifications
for this filter chain. |
INCREMENT | final public static int INCREMENT(Code) | | |
ApplicationFilterChain | public ApplicationFilterChain()(Code) | | Construct a new chain instance with no defined filters.
|
addFilter | void addFilter(ApplicationFilterConfig filterConfig)(Code) | | Add a filter to the set of filters that will be executed in this chain.
Parameters: filterConfig - The FilterConfig for the servlet to be executed |
doFilter | public void doFilter(ServletRequest request, ServletResponse response) throws IOException, ServletException(Code) | | Invoke the next filter in this chain, passing the specified request
and response. If there are no more filters in this chain, invoke
the service() method of the servlet itself.
Parameters: request - The servlet request we are processing Parameters: response - The servlet response we are creating exception: IOException - if an input/output error occurs exception: ServletException - if a servlet exception occurs |
release | void release()(Code) | | Release references to the filters and wrapper executed by this chain.
|
setServlet | void setServlet(Servlet servlet)(Code) | | Set the servlet that will be executed at the end of this chain.
Parameters: servlet - The Wrapper for the servlet to be executed |
setSupport | void setSupport(InstanceSupport support)(Code) | | Set the InstanceSupport object used for event notifications
for this filter chain.
Parameters: support - The InstanceSupport object for our Wrapper |
|
|