|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface TestableResponse
| Method Summary | |
|---|---|
void |
clear()
Clears internal state, in preparation for the next test. |
java.lang.String |
getContentType()
Returns the the MIME content type for the output. |
java.lang.String |
getErrorMessage()
Returns the error message, if available. |
java.lang.Object |
getHeader(java.lang.String name)
Returns the named header. |
java.lang.String |
getOutput()
Returns the content of the ServletOutputStream as string. |
Link |
getRedirectLink()
Returns the link redirected to via Response.sendRedirect(org.apache.tapestry5.Link). |
java.lang.String |
getRedirectURL()
Returns the redirect URL. |
Document |
getRenderedDocument()
Allows access to the rendered document. |
int |
getStatus()
Returns the status code for this response. |
void |
setRenderedDocument(Document document)
Invoked as part of the rendering pipeline to store the final rendered Document object. |
| Methods inherited from interface org.apache.tapestry5.services.Response |
|---|
disableCompression, encodeRedirectURL, encodeURL, getOutputStream, getPrintWriter, isCommitted, sendError, sendRedirect, sendRedirect, setContentLength, setDateHeader, setHeader, setIntHeader, setStatus |
| Method Detail |
|---|
void setRenderedDocument(Document document)
Document getRenderedDocument()
Link getRedirectLink()
Response.sendRedirect(org.apache.tapestry5.Link).
void clear()
java.lang.Object getHeader(java.lang.String name)
java.lang.String getRedirectURL()
int getStatus()
java.lang.String getErrorMessage()
java.lang.String getContentType()
java.lang.String getOutput()
ServletOutputStream as string.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||