com.atlassian.jira.web.filters.gzip
Class GzipResponseWrapper

java.lang.Object
  extended byHttpServletResponseWrapper
      extended bycom.atlassian.jira.web.filters.gzip.GzipResponseWrapper

public class GzipResponseWrapper
extends HttpServletResponseWrapper

See Also:
Serialized Form

Field Summary
protected  HttpServletResponse origResponse
           
protected  ServletOutputStream stream
           
protected  java.io.PrintWriter writer
           
 
Constructor Summary
GzipResponseWrapper(HttpServletResponse response)
           
 
Method Summary
protected  ServletOutputStream createOutputStream()
           
 void finishResponse()
           
 void flushBuffer()
           
 ServletOutputStream getOutputStream()
           
 java.io.PrintWriter getWriter()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

origResponse

protected HttpServletResponse origResponse

stream

protected ServletOutputStream stream

writer

protected java.io.PrintWriter writer
Constructor Detail

GzipResponseWrapper

public GzipResponseWrapper(HttpServletResponse response)
Method Detail

createOutputStream

protected ServletOutputStream createOutputStream()
                                          throws java.io.IOException
Throws:
java.io.IOException

finishResponse

public void finishResponse()

flushBuffer

public void flushBuffer()
                 throws java.io.IOException
Throws:
java.io.IOException

getOutputStream

public ServletOutputStream getOutputStream()
                                    throws java.io.IOException
Throws:
java.io.IOException

getWriter

public java.io.PrintWriter getWriter()
                              throws java.io.IOException
Throws:
java.io.IOException