public class DelegatingFilter extends Object implements javax.servlet.Filter
Note: the delegatee filter component bean is responsible for initializing/destroying by itself. This delegating filter doesn't invoke#init(FilterConfig)
or#destroy()
methods of the delegatee filter component bean. So, in spring assembly, you should maintain its lifecycle properly if needed.
Modifier and Type | Field and Description |
---|---|
static String |
PREFIX_EXCLUSIONS_INIT_PARAM
Deprecated.
not used any more since CMS 10.0, HST 2.30.00. Instead use sitemap items with
hst:namedpipeline = PlainFilterChainInvokingPipeline to fall through to next servlet (filter)
|
static String |
SUFFIX_EXCLUSIONS_INIT_PARAM
Deprecated.
not used any more since CMS 10.0, HST 2.30.00. Instead use sitemap items with
hst:namedpipeline = PlainFilterChainInvokingPipeline to fall through to next servlet (filter)
|
Constructor and Description |
---|
DelegatingFilter() |
Modifier and Type | Method and Description |
---|---|
void |
destroy() |
void |
doFilter(javax.servlet.ServletRequest request,
javax.servlet.ServletResponse response,
javax.servlet.FilterChain filterChain) |
protected javax.servlet.Filter |
getDelegatee()
Returns the delegatee
Filter component bean. |
protected String |
getDelegateeName()
Returns the name of the delegatee
Filter component bean. |
void |
init(javax.servlet.FilterConfig filterConfig) |
@Deprecated public static final String PREFIX_EXCLUSIONS_INIT_PARAM
@Deprecated public static final String SUFFIX_EXCLUSIONS_INIT_PARAM
public void init(javax.servlet.FilterConfig filterConfig) throws javax.servlet.ServletException
init
in interface javax.servlet.Filter
javax.servlet.ServletException
public void doFilter(javax.servlet.ServletRequest request, javax.servlet.ServletResponse response, javax.servlet.FilterChain filterChain) throws IOException, javax.servlet.ServletException
doFilter
in interface javax.servlet.Filter
IOException
javax.servlet.ServletException
public void destroy()
destroy
in interface javax.servlet.Filter
protected String getDelegateeName()
Filter
component bean.protected javax.servlet.Filter getDelegatee()
Filter
component bean.Copyright © 2008–2016 Hippo B.V. (http://www.onehippo.com). All rights reserved.