org.apache.catalina.core

Class ApplicationFilterFactory

public final class ApplicationFilterFactory extends Object

Factory for the creation and caching of Filters and creationg of Filter Chains.

Version: $Revision: 1.0

Author: Greg Murray Remy Maucherat

Field Summary
static StringDISPATCHER_REQUEST_PATH_ATTR
static StringDISPATCHER_TYPE_ATTR
static intERROR
static IntegerERROR_INTEGER
static intFORWARD
static IntegerFORWARD_INTEGER
static intINCLUDE
static IntegerINCLUDE_INTEGER
static intREQUEST
static IntegerREQUEST_INTEGER
Method Summary
ApplicationFilterChaincreateFilterChain(ServletRequest request, Wrapper wrapper, Servlet servlet)
Construct and return a FilterChain implementation that will wrap the execution of the specified servlet instance.
static ApplicationFilterFactorygetInstance()
Return the fqctory instance.

Field Detail

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

ERROR_INTEGER

public static final Integer ERROR_INTEGER

FORWARD

public static final int FORWARD

FORWARD_INTEGER

public static final Integer FORWARD_INTEGER

INCLUDE

public static final int INCLUDE

INCLUDE_INTEGER

public static final Integer INCLUDE_INTEGER

REQUEST

public static final int REQUEST

REQUEST_INTEGER

public static final Integer REQUEST_INTEGER

Method Detail

createFilterChain

public 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.

Parameters: request The servlet request we are processing servlet The servlet instance to be wrapped

getInstance

public static ApplicationFilterFactory getInstance()
Return the fqctory instance.
Copyright © 2000-2011 Apache Software Foundation. All Rights Reserved.