public class StrutsPrepareAndExecuteFilter extends Object implements StrutsStatics, javax.servlet.Filter
| Modifier and Type | Field and Description | 
|---|---|
| protected List<Pattern> | excludedPatternsDeprecated. 
 since 6.4.0, use  Dispatcher.getActionExcludedPatterns()orPrepareOperations.isUrlExcluded(HttpServletRequest)instead. | 
| protected ExecuteOperations | execute | 
| protected PrepareOperations | prepare | 
ACTION_MAPPING, HTTP_REQUEST, HTTP_RESPONSE, PAGE_CONTEXT, SERVLET_CONTEXT, SERVLET_DISPATCHER, STRUTS_ACTION_TAG_INVOCATION, STRUTS_PORTLET_CONTEXT| Constructor and Description | 
|---|
| StrutsPrepareAndExecuteFilter() | 
| Modifier and Type | Method and Description | 
|---|---|
| protected ExecuteOperations | createExecuteOperations(Dispatcher dispatcher)Creates a new instance of  ExecuteOperationsto be used during
 initialisingDispatcher | 
| protected InitOperations | createInitOperations()Creates a new instance of  InitOperationsto be used during
 initialisingDispatcher | 
| protected PrepareOperations | createPrepareOperations(Dispatcher dispatcher)Creates a new instance of  PrepareOperationsto be used during
 initialisingDispatcher | 
| 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 PrepareOperations prepare
protected ExecuteOperations execute
@Deprecated protected List<Pattern> excludedPatterns
Dispatcher.getActionExcludedPatterns() or
 PrepareOperations.isUrlExcluded(HttpServletRequest) instead.public void init(javax.servlet.FilterConfig filterConfig)
          throws javax.servlet.ServletException
init in interface javax.servlet.Filterjavax.servlet.ServletExceptionprotected InitOperations createInitOperations()
InitOperations to be used during
 initialising DispatcherInitOperationsprotected PrepareOperations createPrepareOperations(Dispatcher dispatcher)
PrepareOperations to be used during
 initialising DispatcherPrepareOperationsprotected ExecuteOperations createExecuteOperations(Dispatcher dispatcher)
ExecuteOperations to be used during
 initialising DispatcherExecuteOperationsprotected 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.FilterIOExceptionjavax.servlet.ServletExceptionpublic void destroy()
destroy in interface javax.servlet.FilterCopyright © 2000–2025 Apache Software Foundation. All rights reserved.