org.apache.struts2.dispatcher.ng.filter
Class StrutsPrepareAndExecuteFilter
java.lang.Object
org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter
- All Implemented Interfaces:
- Filter, StrutsStatics
public class StrutsPrepareAndExecuteFilter
- extends Object
- implements StrutsStatics, Filter
Handles both the preparation and execution phases of the Struts dispatching process. This filter is better to use
when you don't have another filter that needs access to action context information, such as Sitemesh.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
prepare
private PrepareOperations prepare
execute
private ExecuteOperations execute
StrutsPrepareAndExecuteFilter
public StrutsPrepareAndExecuteFilter()
init
public void init(FilterConfig filterConfig)
throws ServletException
- Specified by:
init
in interface Filter
- Throws:
ServletException
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.