|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object creamtec.webcream.core.HttpResponseData
public class HttpResponseData
Contains response parameters, that are sent back to the servlet from the client agent.
Field Summary | |
---|---|
static int |
STATUS_ERROR
|
static int |
STATUS_EXIT
|
static int |
STATUS_OK
|
Constructor Summary | |
---|---|
HttpResponseData()
|
Method Summary | |
---|---|
java.lang.String |
getDownloadFileName()
If set, the file is written out into the response |
java.lang.String |
getErrorMessage()
Returns the error message |
java.lang.String |
getHtmlPage()
Returns the HTML page, that needs to be sent to the browser |
java.util.HashMap |
getParams()
Stores WebCream and custom parameters of the response. |
java.lang.String |
getRedirectURL()
Returns the URL of the page, that was requested to be shown next |
int |
getStatus()
Returns the status of the response |
java.lang.String |
getSubmitURL()
Returns the error message |
int |
getWindowId()
Returns the window ID of the window, that was used to render the page |
void |
setDownloadFileName(java.lang.String fileName)
Sets the name of the file to the file is written out into the response for downloading |
void |
setErrorMessage(java.lang.String message)
Sets the error message |
void |
setHtmlPage(java.lang.String htmlPage)
Sets HTMl page of the response |
void |
setRedirectURL(java.lang.String url)
Sets the URL of the page, that was requested to be shown next |
void |
setStatus(int status)
|
void |
setSubmitURL(java.lang.String url)
Sets the error message |
void |
setWindowId(int id)
Sets the window ID, that was used to render the page |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final int STATUS_OK
public static final int STATUS_ERROR
public static final int STATUS_EXIT
Constructor Detail |
---|
public HttpResponseData()
Method Detail |
---|
public java.lang.String getHtmlPage() throws java.lang.Exception
java.lang.Exception
public void setHtmlPage(java.lang.String htmlPage)
public int getWindowId()
public int getStatus()
public void setWindowId(int id)
public java.lang.String getRedirectURL()
public void setRedirectURL(java.lang.String url)
public java.lang.String getErrorMessage()
public void setErrorMessage(java.lang.String message)
public java.lang.String getSubmitURL()
public void setSubmitURL(java.lang.String url)
public void setStatus(int status)
public java.util.HashMap getParams()
public java.lang.String getDownloadFileName()
public void setDownloadFileName(java.lang.String fileName)
fileName
- String
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |