super(response); bos = new ByteArrayOutputStream(); outputStream = new ServletOutputStream() { @Override public void write(int b) throws IOException { usingOutputStream = true; LOGGER.info("getOutputStream usingWriter {}, usingOutputStream {}", usingWriter, usingOutputStream); ServletOutputStream out = new ServletOutputStream() { @Override public void write(int b) throws IOException {
response.setContentType(sContentType); ServletOutputStream outStream = new ServletOutputStream() { @Override public void write(int arg0) throws IOException {
output = new ServletOutputStream() { @Override public void write(int b) throws IOException {
final ServletOutputStream original = super.getOutputStream(); return new ServletOutputStream() {
public ServletOutputStream getOutputStream() throws IOException { final ServletOutputStream servletOutputStream = ResponseLoggingWrapper.super.getOutputStream(); return new ServletOutputStream() { private TeeOutputStream tee = new TeeOutputStream(servletOutputStream, bos);