Save This Page
Home » apache-tomcat-6.0.26-src » org.apache » catalina » core » [javadoc | source]
org.apache.catalina.core
final class: ApplicationFilterChain [javadoc | source]
java.lang.Object
   org.apache.catalina.core.ApplicationFilterChain

All Implemented Interfaces:
    CometFilterChain, FilterChain

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.
Field Summary
public static final  int INCREMENT     
Constructor:
 public ApplicationFilterChain() 
Method from org.apache.catalina.core.ApplicationFilterChain Summary:
addFilter,   doFilter,   doFilterEvent,   getLastServicedRequest,   getLastServicedResponse,   release,   reuse,   setServlet,   setSupport
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.apache.catalina.core.ApplicationFilterChain Detail:
  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) throws IOException, ServletException 
    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.
 public  void doFilterEvent(CometEvent event) throws IOException, ServletException 
    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.
 public static ServletRequest getLastServicedRequest() 
    The last request passed to a servlet for servicing from the current thread.
 public static ServletResponse getLastServicedResponse() 
    The last response passed to a servlet for servicing from the current thread.
  void release() 
    Release references to the filters and wrapper executed by this chain.
  void reuse() 
    Prepare for reuse of 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.