Example usage for Java javax.servlet.http HttpServletResponseWrapper fields, constructors, methods, implement or subclass
The text is from its open source code.
HttpServletResponseWrapper(HttpServletResponse response) Constructs a response adaptor wrapping the given response. |
void | addCookie(Cookie cookie) The default behavior of this method is to call addCookie(Cookie cookie) on the wrapped response object. |
void | addHeader(String name, String value) The default behavior of this method is to return addHeader(String name, String value) on the wrapped response object. |
ServletResponse | getResponse() Return the wrapped ServletResponse object. |
PrintWriter | getWriter() The default behavior of this method is to return getWriter() on the wrapped response object. |
void | setResponse(ServletResponse response) Sets the response being wrapped. |
void | setStatus(int sc) The default behavior of this method is to call setStatus(int sc) on the wrapped response object. |
String | toString() Returns a string representation of the object. |