com.atlassian.jira.web.filters.gzip
Class GzipResponseStream
java.lang.Object
ServletOutputStream
com.atlassian.jira.web.filters.gzip.GzipResponseStream
- public class GzipResponseStream
- extends ServletOutputStream
- See Also:
- Serialized Form
Field Summary |
protected java.io.ByteArrayOutputStream |
baos
|
protected boolean |
closed
|
protected java.util.zip.GZIPOutputStream |
gzipstream
|
protected ServletOutputStream |
output
|
protected HttpServletResponse |
response
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
baos
protected java.io.ByteArrayOutputStream baos
gzipstream
protected java.util.zip.GZIPOutputStream gzipstream
closed
protected boolean closed
response
protected HttpServletResponse response
output
protected ServletOutputStream output
GzipResponseStream
public GzipResponseStream(HttpServletResponse response)
throws java.io.IOException
close
public void close()
throws java.io.IOException
- Throws:
java.io.IOException
flush
public void flush()
throws java.io.IOException
- Throws:
java.io.IOException
write
public void write(int b)
throws java.io.IOException
- Throws:
java.io.IOException
write
public void write(byte[] b)
throws java.io.IOException
- Throws:
java.io.IOException
write
public void write(byte[] b,
int off,
int len)
throws java.io.IOException
- Throws:
java.io.IOException
closed
public boolean closed()
reset
public void reset()