Method Summary |
|
public void | addCookie(Cookie cookie) Adds the specified cookie to the response. |
public boolean | containsHeader(String name) Returns true if the response message header has a field with
the specified name. |
public OutputOptions | createOutputOptions(XMLObject document) Create an OutputOptions object for a document. |
public void | flush() Called at the end of processing a response to force any cached headers to
be written and buffers flushed. |
public String | getEncoding() Get the output character encoding. |
public HttpServletResponse | getHttpServletResponse() Returns the original HttpServletResponse. |
public HttpPresentationOutputStream | getOutputStream() Returns an output stream for writing response data. |
public ResponsePostProcessingManager | getPostProcessingManager() Returns the response post processing manager. |
public boolean | isSessionIdCookieRequired() |
public boolean | isSessionIdEncodeUrlRequired() |
public void | sendError(int sc, String msg) Sends an error response to the client using the specified status
code and descriptive message. |
public void | sendError(int sc) Sends an error response to the client using the specified
status code and a default message. |
public void | setContentLength(int len) Sets the content length for this response. |
public void | setContentType(String type) Sets the content type for this response. |
public void | setDateHeader(String name, long date) Adds a field to the response header with a given name and
date-valued field. |
public void | setEncoding(String enc) Set the output character encoding. |
public void | setHeader(String name, String value) Adds a field to the response header with a given name and
value. |
public void | setIntHeader(String name, int value) Adds a field to the response header with a given name and
integer value. |
public void | setPostProcessingManager(ResponsePostProcessingManager processingManager) Sets the response post processing manager. |
public void | setSessionIdCookieRequired(boolean sessionIdCookie) |
public void | setSessionIdEncodeUrlRequired(boolean sessionIdUrl) |
public void | setSessionKey(String sessionKey) |
public void | setSessionManager(SessionManager sessionManager) |
public void | setStatus(int sc, String sm) Sets the status code and message for this response. |
public void | setStatus(int sc) Sets the status code and a default message for this response. |
public void | writeDOM(OutputOptions outputOptions, Node document) Output an an XML document object (DOM). |
public void | writeDOM(Node document) Output an an XML document object (DOM). |
public void | writeHTML(String html) Utility method to output an HTML page. |
public void | writeHTML(HTMLDocument doc) Utility method to output an HTML page from a DOM object. |