Wraps a servlet response in another response. Filters may
use ServletResponseWrapper to grab results from the servlet.
The default methods just call the wrapped response methods.
since: servlet 2.3
Resets the output stream, clearing headers and the output buffer.
Calling reset() after data has been committed is illegal.
throws: IllegalStateException - if isCommitted() is true.
Resets the output stream without clearing headers and the output buffer.
Calling resetBuffer() after data has been committed is
illegal.
throws: IllegalStateException - if isCommitted() is true.
Sets the response content type. The content type includes
the character encoding. The content type must be set before
calling getWriter() so the writer can use the
proper character encoding.
To set the output character encoding to ISO-8859-2, use the
following:
Sets the output locale. The response will set the character encoding
based on the locale. For example, setting the "kr" locale will set
the character encoding to "EUC_KR".