|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.struts.action.Action
org.apache.struts.actions.DispatchAction
org.rhq.enterprise.gui.legacy.action.BaseDispatchAction
public abstract class BaseDispatchAction
An abstract Action that dispatches to a subclass mapped method based on the value of a request parameter.
| Field Summary |
|---|
| Fields inherited from class org.apache.struts.actions.DispatchAction |
|---|
clazz, messages, methods, types |
| Fields inherited from class org.apache.struts.action.Action |
|---|
defaultLocale, servlet |
| Constructor Summary | |
|---|---|
BaseDispatchAction()
|
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class org.apache.struts.actions.DispatchAction |
|---|
cancelled, dispatchMethod, getMethod, getMethodName, getParameter, unspecified |
| Methods inherited from class org.apache.struts.action.Action |
|---|
addErrors, addMessages, execute, generateToken, getDataSource, getDataSource, getErrors, getLocale, getMessages, getResources, getResources, getServlet, isCancelled, isTokenValid, isTokenValid, resetToken, saveErrors, saveErrors, saveErrors, saveMessages, saveMessages, saveToken, setLocale, setServlet |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public BaseDispatchAction()
| Method Detail |
|---|
public 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.
Exception
protected void setReturnPath(javax.servlet.http.HttpServletRequest request,
org.apache.struts.action.ActionMapping mapping)
throws Exception
Exception
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||