@Test public void getByteArrayOutputStream() { baos.write(100); AssetRenditionDownloadResponse response = new AssetRenditionDownloadResponse(ctx.response(), stringWriter, baos); assertEquals(baos, response.getByteArrayOutputStream()); }
public ByteArrayOutputStream getByteArrayOutputStream() { return this.baos; }
AssetRenditionDownloadResponse extends BufferedSlingHttpServletResponse { public ByteArrayOutputStream getByteArrayOutputStream() { return this.baos; } }
AssetRenditionDownloadResponse extends BufferedSlingHttpServletResponse { public ByteArrayOutputStream getByteArrayOutputStream() { return this.baos; } AssetRenditionDownloadResponse(SlingHttpServletResponse wrappedResponse, StringWriter writer, ByteArrayOutputStream outputStream); }
AssetRenditionDownloadResponse extends BufferedSlingHttpServletResponse { public ByteArrayOutputStream getByteArrayOutputStream() { return this.baos; } AssetRenditionDownloadResponse(SlingHttpServletResponse wrappedResponse, StringWriter writer, ByteArrayOutputStream outputStream); boolean isRedirect(); String getRedirect(); @Override void sendRedirect(String location); @Override void setStatus(int statusCode); @Override void setHeader(String key, String value); @Override void sendError(int statusCode); @Override void sendError(int statusCode, String msg); ByteArrayOutputStream getByteArrayOutputStream(); int getStatusCode(); @Override String getContentType(); @Override void setContentLength(int contentLength); }
AssetRenditionDownloadResponse extends BufferedSlingHttpServletResponse { public ByteArrayOutputStream getByteArrayOutputStream() { return this.baos; } AssetRenditionDownloadResponse(SlingHttpServletResponse wrappedResponse, StringWriter writer, ByteArrayOutputStream outputStream); boolean isRedirect(); String getRedirect(); @Override void sendRedirect(String location); @Override void setStatus(int statusCode); @Override void setHeader(String key, String value); @Override void sendError(int statusCode); @Override void sendError(int statusCode, String msg); ByteArrayOutputStream getByteArrayOutputStream(); int getStatusCode(); @Override String getContentType(); @Override void setContentLength(int contentLength);  }