public class FilterChainFactory extends Object
FilterChainFactory
is responsible for building a FilterChain
instance with the Filters that need to be invoked for a particular request URI.
TODO: We should look into how to cache these. They currently are re-built
on each request.Constructor and Description |
---|
FilterChainFactory(WebappContext ctx) |
Modifier and Type | Method and Description |
---|---|
org.glassfish.grizzly.servlet.FilterChainImpl |
createFilterChain(Request request,
javax.servlet.Servlet servlet,
javax.servlet.DispatcherType dispatcherType)
Construct and return a FilterChain implementation that will wrap the
execution of the specified servlet instance.
|
org.glassfish.grizzly.servlet.FilterChainImpl |
createFilterChain(javax.servlet.ServletRequest request,
javax.servlet.Servlet servlet,
javax.servlet.DispatcherType dispatcherType)
Construct and return a FilterChain implementation that will wrap the
execution of the specified servlet instance.
|
public FilterChainFactory(WebappContext ctx)
public org.glassfish.grizzly.servlet.FilterChainImpl createFilterChain(javax.servlet.ServletRequest request, javax.servlet.Servlet servlet, javax.servlet.DispatcherType dispatcherType)
null
.request
- The servlet request we are processingservlet
- The servlet instance to be wrappedpublic org.glassfish.grizzly.servlet.FilterChainImpl createFilterChain(Request request, javax.servlet.Servlet servlet, javax.servlet.DispatcherType dispatcherType)
null
.request
- The servlet request we are processingservlet
- The servlet instance to be wrappedCopyright © 2014 Oracle Corporation. All rights reserved.