getInstance(ServletResponse response, Writer writer) Returns a buffered response with a writer, if writer is not null;
or the original response if writer is null.
getInstance(ServletResponse response, OutputStream stream) Returns a buffered response with a output stream, if stream is not null;
or the original response if stream is null.
Returns a buffered response with a writer, if writer is not null;
or the original response if writer is null.
If reponse is HttpServletResponse,
HttpBufferedResponse.getInstance is returned.
It is smart enough not to wrap the same writer twice.
Returns a buffered response with a output stream, if stream is not null;
or the original response if stream is null.
If reponse is HttpServletResponse,
HttpBufferedResponse.getInstance is returned.
It is smart enough not to wrap the same stream twice.