public class

ResourceCapturingResponseWrapper

extends HttpServletResponseWrapper
java.lang.Object
   ↳ javax.servlet.ServletResponseWrapper
     ↳ javax.servlet.http.HttpServletResponseWrapper
       ↳ com.atlassian.jira.dev.resources.ResourceCapturingResponseWrapper

Class Overview

Response wrapper used to capture underlying stream and modify final response.

Summary

[Expand]
Inherited Constants
From interface javax.servlet.http.HttpServletResponse
Public Constructors
ResourceCapturingResponseWrapper(HttpServletResponse httpServletResponse)
Public Methods
byte[] getBytes()
ServletOutputStream getOutputStream()
String getString()
PrintWriter getWriter()
[Expand]
Inherited Methods
From class javax.servlet.http.HttpServletResponseWrapper
From class javax.servlet.ServletResponseWrapper
From class java.lang.Object
From interface javax.servlet.ServletResponse
From interface javax.servlet.http.HttpServletResponse

Public Constructors

public ResourceCapturingResponseWrapper (HttpServletResponse httpServletResponse)

Throws
IOException

Public Methods

public byte[] getBytes ()

public ServletOutputStream getOutputStream ()

Throws
IOException

public String getString ()

Throws
IOException

public PrintWriter getWriter ()

Throws
IOException