public class ActionResponse extends Object implements ActionResponseIF
Modifier and Type | Field and Description |
---|---|
protected String |
forwardurl |
protected Map |
params |
protected javax.servlet.http.HttpServletRequest |
request |
protected javax.servlet.http.HttpServletResponse |
response |
Constructor and Description |
---|
ActionResponse(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response) |
Modifier and Type | Method and Description |
---|---|
void |
addMessage(String message) |
void |
addParameter(String key,
String value)
PUBLIC: Sets a parameter value in the forward request.
|
String |
getForward()
PUBLIC: Returns the forward URL.
|
javax.servlet.http.HttpServletRequest |
getHttpServletRequest() |
javax.servlet.http.HttpServletResponse |
getHttpServletResponse() |
String |
getParameter(String key)
PUBLIC: Gets the value of the named request parameter.
|
Map |
getParameters()
PUBLIC: Gets the parameter map which contains (key, value) pairs
of String objects representing request parameters that should be
included in the forward request.
|
javax.servlet.ServletContext |
getServletContext() |
void |
setForward(String relativeUrl)
PUBLIC: Tells the editor framework which page to go to after form
processing is complete.
|
protected Map params
protected String forwardurl
protected javax.servlet.http.HttpServletRequest request
protected javax.servlet.http.HttpServletResponse response
public ActionResponse(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
public void addParameter(String key, String value)
ActionResponseIF
addParameter
in interface ActionResponseIF
public Map getParameters()
ActionResponseIF
getParameters
in interface ActionResponseIF
public String getParameter(String key)
ActionResponseIF
getParameter
in interface ActionResponseIF
public void addMessage(String message)
public void setForward(String relativeUrl)
ActionResponseIF
setForward
in interface ActionResponseIF
public String getForward()
ActionResponseIF
getForward
in interface ActionResponseIF
public javax.servlet.ServletContext getServletContext()
public javax.servlet.http.HttpServletRequest getHttpServletRequest()
public javax.servlet.http.HttpServletResponse getHttpServletResponse()