public abstract class BaseDispatchAction
extends org.apache.struts.actions.DispatchAction
| Constructor and Description |
|---|
BaseDispatchAction() |
| Modifier and Type | Method and Description |
|---|---|
org.apache.struts.action.ActionForward |
execute(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm form,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Process the specified HTTP request, and create the corresponding HTTP response (or forward to another web
component that will create it).
|
protected abstract Properties |
getKeyMethodMap()
Provides the mapping from resource key to method name
|
protected void |
setReturnPath(javax.servlet.http.HttpServletRequest request,
org.apache.struts.action.ActionMapping mapping) |
protected void |
setReturnPath(javax.servlet.http.HttpServletRequest request,
org.apache.struts.action.ActionMapping mapping,
Map params)
Method to overload if the controller wants to be an origin for workflows.
|
cancelled, dispatchMethod, getMethod, getMethodName, getParameter, unspecifiedaddErrors, addMessages, execute, generateToken, getDataSource, getDataSource, getErrors, getLocale, getMessages, getResources, getResources, getServlet, isCancelled, isTokenValid, isTokenValid, resetToken, saveErrors, saveErrors, saveErrors, saveMessages, saveMessages, saveToken, setLocale, setServletpublic org.apache.struts.action.ActionForward execute(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm form,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws Exception
ActionForward instance describing where and how control
should be forwarded, or null if the response has already been completed.execute in class org.apache.struts.actions.DispatchActionmapping - The ActionMapping used to select this instancerequest - The HTTP request we are processingresponse - The HTTP response we are creatingform - The optional ActionForm bean for this request (if any)Exception - if an error occursprotected abstract Properties getKeyMethodMap()
protected void setReturnPath(javax.servlet.http.HttpServletRequest request,
org.apache.struts.action.ActionMapping mapping,
Map params)
throws Exception
request - The request to get the session to store the returnPath into.mapping - The ActionMapping to get the input forward from.params - A Map of request parameters to add to the return path.ExceptionCopyright © 2008-2013 Red Hat, Inc.. All Rights Reserved.