public class StrutsPrepareFilter extends Object implements StrutsStatics, javax.servlet.Filter
StrutsExecuteFilter
filter instance.Modifier and Type | Field and Description |
---|---|
protected List<Pattern> |
excludedPatterns |
protected PrepareOperations |
prepare |
protected static String |
REQUEST_EXCLUDED_FROM_ACTION_MAPPING |
HTTP_REQUEST, HTTP_RESPONSE, PAGE_CONTEXT, SERVLET_CONTEXT, SERVLET_DISPATCHER, STRUTS_ACTION_TAG_INVOCATION, STRUTS_PORTLET_CONTEXT
Constructor and Description |
---|
StrutsPrepareFilter() |
Modifier and Type | Method and Description |
---|---|
void |
destroy() |
void |
doFilter(javax.servlet.ServletRequest req,
javax.servlet.ServletResponse res,
javax.servlet.FilterChain chain) |
void |
init(javax.servlet.FilterConfig filterConfig) |
protected void |
postInit(Dispatcher dispatcher,
javax.servlet.FilterConfig filterConfig)
Callback for post initialization
|
protected static final String REQUEST_EXCLUDED_FROM_ACTION_MAPPING
protected PrepareOperations prepare
public void init(javax.servlet.FilterConfig filterConfig) throws javax.servlet.ServletException
init
in interface javax.servlet.Filter
javax.servlet.ServletException
protected void postInit(Dispatcher dispatcher, javax.servlet.FilterConfig filterConfig)
dispatcher
- the dispatcherfilterConfig
- the filter configpublic void doFilter(javax.servlet.ServletRequest req, javax.servlet.ServletResponse res, javax.servlet.FilterChain chain) throws IOException, javax.servlet.ServletException
doFilter
in interface javax.servlet.Filter
IOException
javax.servlet.ServletException
public void destroy()
destroy
in interface javax.servlet.Filter
Copyright © 2000–2020 Apache Software Foundation. All rights reserved.