net.sourceforge.pebble.web.filter
Class GZIPResponseStream
java.lang.Object
ServletOutputStream
net.sourceforge.pebble.web.filter.GZIPResponseStream
public class GZIPResponseStream
- extends ServletOutputStream
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
- 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()
Copyright © 2003-2006, Simon Brown. All Rights Reserved.