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

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

public class StrutsExecuteFilter
extends Object
implements StrutsStatics, Filter

Executes the discovered request information. This filter requires the StrutsPrepareFilter to have already been executed in the current chain.


Field Summary
protected  ExecuteOperations execute
           
protected  FilterConfig filterConfig
           
protected  PrepareOperations prepare
           
 
Fields inherited from interface org.apache.struts2.StrutsStatics
HTTP_REQUEST, HTTP_RESPONSE, PAGE_CONTEXT, SERVLET_CONTEXT, SERVLET_DISPATCHER, STRUTS_PORTLET_CONTEXT
 
Constructor Summary
StrutsExecuteFilter()
           
 
Method Summary
 void destroy()
           
 void doFilter(ServletRequest req, ServletResponse res, FilterChain chain)
           
private  boolean excludeUrl(HttpServletRequest request)
           
 void init(FilterConfig filterConfig)
           
protected  void lazyInit()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

prepare

protected PrepareOperations prepare

execute

protected ExecuteOperations execute

filterConfig

protected FilterConfig filterConfig
Constructor Detail

StrutsExecuteFilter

public StrutsExecuteFilter()
Method Detail

init

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

lazyInit

protected void lazyInit()

doFilter

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

excludeUrl

private boolean excludeUrl(HttpServletRequest request)

destroy

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


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