|
||||||||||
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. |
String |
getContentType()
Returns the the MIME content type for the output. |
String |
getErrorMessage()
Returns the error message, if available. |
Object |
getHeader(String name)
Returns the named header. |
String |
getOutput()
Returns the content of the ServletOutputStream as string. |
Link |
getRedirectLink()
Returns the link redirected to via Response.sendRedirect(org.apache.tapestry5.Link) . |
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()
Object getHeader(String name)
String getRedirectURL()
int getStatus()
String getErrorMessage()
String getContentType()
String getOutput()
ServletOutputStream
as string.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |