|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object jodd.madvoc.ActionRequest
public class ActionRequest
Encapsulates single action invocation and acts as an action proxy. It invokes all assigned action interceptors during action invocation and specifies the result after action method invocation.
Field Summary | |
---|---|
protected java.lang.Object |
action
|
protected ActionConfig |
config
|
protected boolean |
executed
|
protected int |
interceptorIndex
|
protected java.lang.String |
nextActionPath
|
protected ActionRequest |
previousActionRequest
|
protected javax.servlet.http.HttpServletRequest |
serlvetRequest
|
protected javax.servlet.http.HttpServletResponse |
servletResponse
|
protected int |
totalInterceptors
|
protected WebApplication |
webapp
|
Constructor Summary | |
---|---|
protected |
ActionRequest(WebApplication webapp,
ActionConfig config,
java.lang.Object action,
javax.servlet.http.HttpServletRequest serlvetRequest,
javax.servlet.http.HttpServletResponse servletResponse)
Creates new action request and action object. |
Method Summary | |
---|---|
java.lang.Object |
getAction()
|
ActionConfig |
getActionConfig()
|
java.lang.String |
getActionPath()
|
javax.servlet.http.HttpServletRequest |
getHttpServletRequest()
|
javax.servlet.http.HttpServletResponse |
getHttpServletResponse()
|
java.lang.String |
getNextActionPath()
Returns next request string for action chaining. |
ActionRequest |
getPreviousActionRequest()
|
WebApplication |
getWebApplication()
|
java.lang.String |
invoke()
Invokes the action. |
boolean |
isExecuted()
|
void |
setHttpServletRequest(javax.servlet.http.HttpServletRequest request)
|
void |
setHttpServletResponse(javax.servlet.http.HttpServletResponse response)
|
void |
setNextActionPath(java.lang.String nextActionPath)
Specifies the next action path, that will be chained to current action request. |
void |
setPreviousActionRequest(ActionRequest previousActionRequest)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected final WebApplication webapp
protected final ActionConfig config
protected javax.servlet.http.HttpServletRequest serlvetRequest
protected javax.servlet.http.HttpServletResponse servletResponse
protected final int totalInterceptors
protected int interceptorIndex
protected final java.lang.Object action
protected boolean executed
protected java.lang.String nextActionPath
protected ActionRequest previousActionRequest
Constructor Detail |
---|
protected ActionRequest(WebApplication webapp, ActionConfig config, java.lang.Object action, javax.servlet.http.HttpServletRequest serlvetRequest, javax.servlet.http.HttpServletResponse servletResponse)
Method Detail |
---|
public javax.servlet.http.HttpServletRequest getHttpServletRequest()
public void setHttpServletRequest(javax.servlet.http.HttpServletRequest request)
public javax.servlet.http.HttpServletResponse getHttpServletResponse()
public void setHttpServletResponse(javax.servlet.http.HttpServletResponse response)
public ActionConfig getActionConfig()
public java.lang.Object getAction()
public java.lang.String getActionPath()
public WebApplication getWebApplication()
public boolean isExecuted()
public java.lang.String getNextActionPath()
public void setNextActionPath(java.lang.String nextActionPath)
public ActionRequest getPreviousActionRequest()
public void setPreviousActionRequest(ActionRequest previousActionRequest)
public java.lang.String invoke() throws java.lang.Exception
java.lang.Exception
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |