org.apache.catalina.core
Class ApplicationFilterFactory
java.lang.Object
org.apache.catalina.core.ApplicationFilterFactory
public final class ApplicationFilterFactory
extends java.lang.Object
Factory for the creation and caching of Filters and creationg
of Filter Chains.
Version:
- Greg Murray
- Remy Maucherat
org.apache.catalina.core.ApplicationFilterChain | createFilterChain(ServletRequest request, Wrapper wrapper, Servlet servlet) - Construct and return a FilterChain implementation that will wrap the
execution of the specified servlet instance.
|
static ApplicationFilterFactory | getInstance() - Return the fqctory instance.
|
DISPATCHER_REQUEST_PATH_ATTR
public static final String DISPATCHER_REQUEST_PATH_ATTR
DISPATCHER_TYPE_ATTR
public static final String DISPATCHER_TYPE_ATTR
ERROR
public static final int ERROR
- 1
ERROR_INTEGER
public static final Integer ERROR_INTEGER
FORWARD
public static final int FORWARD
- 2
FORWARD_INTEGER
public static final Integer FORWARD_INTEGER
INCLUDE
public static final int INCLUDE
- 4
INCLUDE_INTEGER
public static final Integer INCLUDE_INTEGER
REQUEST
public static final int REQUEST
- 8
REQUEST_INTEGER
public static final Integer REQUEST_INTEGER
createFilterChain
public org.apache.catalina.core.ApplicationFilterChain createFilterChain(ServletRequest request,
Wrapper wrapper,
Servlet servlet)
Construct and return a FilterChain implementation that will wrap the
execution of the specified servlet instance. If we should not execute
a filter chain at all, return null
.
request
- The servlet request we are processingservlet
- The servlet instance to be wrapped
Copyright B) 2000-2003 Apache Software Foundation. All Rights Reserved.