Method Summary |
|
public void | addCookie(Cookie cookie) Sends a new cookie to the client. |
public void | addDateHeader(String name, long date) Adds a header by converting a date to a string. |
public void | addFooter(String key, String value) |
public void | addHeader(String name, String value) Adds a header. |
public void | addIntHeader(String name, int value) Adds a header by converting an integer value to a string. |
public boolean | containsHeader(String name) |
public String | encodeRedirectURL(String name) |
public String | encodeRedirectUrl(String url) |
public String | encodeURL(String url) Encodes session information in a URL. |
public String | encodeUrl(String url) |
public void | flushBuffer() Flushes the buffer to the client. |
public int | getBufferSize() Returns the size of the output buffer. |
public String | getCharacterEncoding() Returns the character encoding the response is using for output. |
public String | getContentType() |
public Locale | getLocale() Returns the output locale. |
public ServletOutputStream | getOutputStream() Returns an output stream for writing to the client. |
public ServletResponse | getResponse() |
public PrintWriter | getWriter() Returns a PrintWriter with the proper character encoding for writing
text data to the client. |
public boolean | isCommitted() Returns true if some data has actually been send to the client. |
public void | reset() Resets the output stream, clearing headers and the output buffer. |
public void | resetBuffer() Resets the output stream without clearing headers and the output buffer. |
public void | sendError(int sc, String msg) |
public void | sendError(int sc) |
public void | sendRedirect(String location) Redirects the client to another page. |
public void | setBufferSize(int size) Sets the output buffer size to size . |
public void | setCharacterEncoding(String encoding) Sets the character encoding the response is using for output. |
public void | setContentLength(int len) Resin automatically handles output content length and chunking. |
public void | setContentType(String type) Sets the response content type. |
public void | setDateHeader(String name, long date) Sets a header by converting a date to a string. |
public void | setFooter(String key, String value) |
public void | setHeader(String name, String value) Sets a header. |
public void | setIntHeader(String name, int value) Sets a header by converting an integer value to a string. |
public void | setLocale(Locale locale) Sets the output locale. |
public void | setResponse(HttpServletResponse response) Sets the response to be wrapped. |
public void | setStatus(int sc) |
public void | setStatus(int sc, String msg) |