public class ActionInfo extends Object
| Constructor and Description |
|---|
ActionInfo(javax.servlet.http.HttpServletRequest request,
String originalName,
String method)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
String |
getControllerClass()
Returns the controller class used to process the action
e.g. : "ComputeAction" Java class |
String |
getControllerMethod()
Returns the controller method used to process the action
( a method of the controller class ) e.g. : "add" Java method ( defined in "ComputeAction" Java class ) |
String |
getControllerResult() |
String |
getMethod()
Returns the current action method that has been executed to produce the current result
|
String |
getName()
Returns the current action conventional name
e.g. : 'compute' for 'Compute' or 'myAction' for 'MyAction' |
String |
getOriginalName()
Returns the current action original name (without modification)
e.g. : 'myaction' or 'MyAction' |
String |
getRequestURI()
Returns the current action request URI
same as HttpServletRequest.getRequestURI() e.g. : '/mywebapp/aaa/bbb/myaction' |
String |
getRequestURL()
Returns the current action request URL
same as HttpServletRequest.getRequestURL() e.g. : 'http://myhost:8080/mywebapp/aaa/bbb/myaction' |
String |
getViewLayoutName() |
String |
getViewLayoutPath() |
String |
getViewName() |
String |
getViewPageName() |
String |
getViewPagePath() |
String |
getViewPath() |
void |
setActionView(ActionView actionView) |
void |
setProcessingResult(String className,
String methodCalled,
String result)
Set information regarding the processing result (after class.method execution)
|
String |
toString() |
public String getRequestURL()
public String getRequestURI()
public String getOriginalName()
public String getName()
public String getMethod()
public void setProcessingResult(String className, String methodCalled, String result)
className - methodCalled - result - public String getControllerClass()
public String getControllerMethod()
public String getControllerResult()
public void setActionView(ActionView actionView)
public String getViewName()
public String getViewPath()
public String getViewPageName()
public String getViewPagePath()
public String getViewLayoutName()
public String getViewLayoutPath()
Copyright © 2016. All rights reserved.