org.apache.struts2.dispatcher.ng.filter
Class StrutsPrepareFilter

java.lang.Object
  extended by org.apache.struts2.dispatcher.ng.filter.StrutsPrepareFilter
All Implemented Interfaces:
Filter, StrutsStatics

public class StrutsPrepareFilter
extends Object
implements StrutsStatics, Filter

Prepares the request for execution by a later StrutsExecuteFilter filter instance.


Field Summary
protected  List<Pattern> excludedPatterns
           
protected  PrepareOperations prepare
           
protected static String REQUEST_EXCLUDED_FROM_ACTION_MAPPING
           
 
Fields inherited from interface org.apache.struts2.StrutsStatics
HTTP_REQUEST, HTTP_RESPONSE, PAGE_CONTEXT, SERVLET_CONTEXT, SERVLET_DISPATCHER, STRUTS_PORTLET_CONTEXT
 
Constructor Summary
StrutsPrepareFilter()
           
 
Method Summary
 void destroy()
           
 void doFilter(ServletRequest req, ServletResponse res, FilterChain chain)
           
 void init(FilterConfig filterConfig)
           
protected  void postInit(Dispatcher dispatcher, FilterConfig filterConfig)
          Callback for post initialization
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

REQUEST_EXCLUDED_FROM_ACTION_MAPPING

protected static final String REQUEST_EXCLUDED_FROM_ACTION_MAPPING

prepare

protected PrepareOperations prepare

excludedPatterns

protected List<Pattern> excludedPatterns
Constructor Detail

StrutsPrepareFilter

public StrutsPrepareFilter()
Method Detail

init

public void init(FilterConfig filterConfig)
          throws ServletException
Specified by:
init in interface Filter
Throws:
ServletException

postInit

protected void postInit(Dispatcher dispatcher,
                        FilterConfig filterConfig)
Callback for post initialization


doFilter

public void doFilter(ServletRequest req,
                     ServletResponse res,
                     FilterChain chain)
              throws IOException,
                     ServletException
Specified by:
doFilter in interface Filter
Throws:
IOException
ServletException

destroy

public void destroy()
Specified by:
destroy in interface Filter


Copyright © 2000-2009 Apache Software Foundation. All Rights Reserved.