|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.ontopia.topicmaps.webed.impl.basic.ActionResponse
public class ActionResponse
INTERNAL: Default implementation of an action response.
Field Summary | |
---|---|
protected java.lang.String |
forwardurl
|
protected java.util.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(java.lang.String message)
|
void |
addParameter(java.lang.String key,
java.lang.String value)
PUBLIC: Sets a parameter value in the forward request. |
java.lang.String |
getForward()
PUBLIC: Returns the forward URL. |
javax.servlet.http.HttpServletRequest |
getHttpServletRequest()
|
javax.servlet.http.HttpServletResponse |
getHttpServletResponse()
|
java.lang.String |
getParameter(java.lang.String key)
PUBLIC: Gets the value of the named request parameter. |
java.util.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(java.lang.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 java.util.Map params
protected java.lang.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(java.lang.String key, java.lang.String value)
ActionResponseIF
addParameter
in interface ActionResponseIF
public java.util.Map getParameters()
ActionResponseIF
getParameters
in interface ActionResponseIF
public java.lang.String getParameter(java.lang.String key)
ActionResponseIF
getParameter
in interface ActionResponseIF
public void addMessage(java.lang.String message)
public void setForward(java.lang.String relativeUrl)
ActionResponseIF
setForward
in interface ActionResponseIF
public java.lang.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 |