Package org.apache.catalina.core
Class ApplicationFilterFactory
- java.lang.Object
-
- org.apache.catalina.core.ApplicationFilterFactory
-
public final class ApplicationFilterFactory extends Object
Factory for the creation and caching of Filters and creation of Filter Chains.- Version:
- $Revision: 1.0
- Author:
- Greg Murray, Remy Maucherat
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description org.apache.catalina.core.ApplicationFilterChain
createFilterChain(jakarta.servlet.ServletRequest request, Wrapper wrapper, jakarta.servlet.Servlet servlet)
Construct and return a FilterChain implementation that will wrap the execution of the specified servlet instance.static ApplicationFilterFactory
getInstance()
Return the factory instance.
-
-
-
Method Detail
-
getInstance
public static ApplicationFilterFactory getInstance()
Return the factory instance.
-
createFilterChain
public org.apache.catalina.core.ApplicationFilterChain createFilterChain(jakarta.servlet.ServletRequest request, Wrapper wrapper, jakarta.servlet.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, returnnull
.- Parameters:
request
- The servlet request we are processingwrapper
- The wrapper for the servletservlet
- The servlet instance to be wrapped- Returns:
- Filterchain that wraps the instance
-
-