|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.ontopia.topicmaps.webed.impl.basic.ActionResponse
public class ActionResponse
INTERNAL: Default implementation of an action response.
Field Summary | |
---|---|
protected String |
forwardurl
|
protected Map |
params
|
protected javax.servlet.http.HttpServletRequest |
request
|
protected javax.servlet.http.HttpServletResponse |
response
|
Constructor Summary | |
---|---|
ActionResponse(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
|
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected Map params
protected String forwardurl
protected javax.servlet.http.HttpServletRequest request
protected javax.servlet.http.HttpServletResponse response
Constructor Detail |
---|
public ActionResponse(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
Method Detail |
---|
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()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |