org.apache.struts2.dispatcher.ng
Class ExecuteOperations

java.lang.Object
  extended by org.apache.struts2.dispatcher.ng.ExecuteOperations

public class ExecuteOperations
extends Object

Contains execution operations for filters


Field Summary
private  Dispatcher dispatcher
           
private  ServletContext servletContext
           
 
Constructor Summary
ExecuteOperations(ServletContext servletContext, Dispatcher dispatcher)
           
 
Method Summary
 void executeAction(HttpServletRequest request, HttpServletResponse response, ActionMapping mapping)
          Executes an action
 boolean executeStaticResourceRequest(HttpServletRequest request, HttpServletResponse response)
          Tries to execute a request for a static resource
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

servletContext

private ServletContext servletContext

dispatcher

private Dispatcher dispatcher
Constructor Detail

ExecuteOperations

public ExecuteOperations(ServletContext servletContext,
                         Dispatcher dispatcher)
Method Detail

executeStaticResourceRequest

public boolean executeStaticResourceRequest(HttpServletRequest request,
                                            HttpServletResponse response)
                                     throws IOException,
                                            ServletException
Tries to execute a request for a static resource

Returns:
True if it was handled, false if the filter should fall through
Throws:
IOException
ServletException

executeAction

public void executeAction(HttpServletRequest request,
                          HttpServletResponse response,
                          ActionMapping mapping)
                   throws ServletException
Executes an action

Throws:
ServletException


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