| java.lang.Object org.apache.catalina.core.ApplicationFilterChain
ApplicationFilterChain | final class ApplicationFilterChain implements FilterChain,CometFilterChain(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: 505593 $ $Date: 2007-02-10 01:54:56 +0100 (sam., 10 févr. 2007) $ |
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. | public void | doFilterEvent(CometEvent event) Invoke the next filter in this chain, passing the specified request
and response. | public static ServletRequest | getLastServicedRequest() The last request passed to a servlet for servicing from the current
thread.
The last request to be serviced. | public static ServletResponse | getLastServicedResponse() The last response passed to a servlet for servicing from the current
thread.
The last response to be serviced. | 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. |
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 |
doFilterEvent | public void doFilterEvent(CometEvent event) 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 |
getLastServicedRequest | public static ServletRequest getLastServicedRequest()(Code) | | The last request passed to a servlet for servicing from the current
thread.
The last request to be serviced. |
getLastServicedResponse | public static ServletResponse getLastServicedResponse()(Code) | | The last response passed to a servlet for servicing from the current
thread.
The last response to be serviced. |
release | void release()(Code) | | Release references to the filters and wrapper executed by this chain.
|
reuse | void reuse()(Code) | | Prepare for reuse of 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 |
|
|