|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object creamtec.webcream.core.HttpRequestData
public class HttpRequestData
Holds various HTTP request parameters, mostly mirroring HttpRequest interface
Constructor Summary | |
---|---|
HttpRequestData()
|
Method Summary | |
---|---|
java.lang.String |
getAction()
Returns action, as specified in the HttpRequest. |
java.lang.String |
getAppName()
Returns application name. |
java.lang.String |
getErrorMessage()
Returns the error message to be displayed at the top of the response page |
java.util.HashMap |
getParams()
Returns a hashtable of parameters, that represent the values, entered by the user to form inputs. |
long |
getRequestId()
Returns the request ID. |
boolean |
isNewSession()
Returns true if the request is recieved for a newly created session, which means that the client is making it's first request for the application (or returning to the application after exiting it) |
void |
setAction(java.lang.String action)
Sets action to be emulated |
void |
setAppName(java.lang.String name)
Sets application name. |
void |
setErrorMessage(java.lang.String errorMessage)
Sets the error message that will be displayed at the top of the response page |
void |
setNewSession(boolean newSession)
Sets whether or not the request is received for a new session |
void |
setParams(java.util.HashMap params)
Sets parameters, containing values of form inputs |
void |
setRequestId(long id)
Sets request ID |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public HttpRequestData()
Method Detail |
---|
public void setParams(java.util.HashMap params)
public java.util.HashMap getParams()
public long getRequestId()
public void setRequestId(long id)
public boolean isNewSession()
public void setNewSession(boolean newSession)
public java.lang.String getAppName()
public void setAppName(java.lang.String name)
public java.lang.String getAction()
public void setAction(java.lang.String action)
public java.lang.String getErrorMessage()
public void setErrorMessage(java.lang.String errorMessage)
errorMessage
- text to be displayed or null
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |