com.plumtree.uiinfrastructure.web
Class HttpCompressionOutputStream
java.lang.Object
ServletOutputStream
com.plumtree.uiinfrastructure.web.HttpCompressionOutputStream
public class HttpCompressionOutputStream
- extends ServletOutputStream
- Author:
- scottc
This class represents a servlet output stream for HTTP compression.
It has a minimum compression size (in bytes), below which no compression is used.
This is a critical feature for the plumtree Binary Gateway which relies on detecting a
small uncompressed token in the response. -SDC 10/27/04
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GZIP_STR
public static final java.lang.String GZIP_STR
- See Also:
- Constant Field Values
DEFLATE_STR
public static final java.lang.String DEFLATE_STR
- See Also:
- Constant Field Values
HttpCompressionOutputStream
public HttpCompressionOutputStream(HttpServletResponse response,
IHttpCompressionUtil compressionUtil)
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
reset
public void reset()
write
public void write(byte[] b)
throws java.io.IOException
- Throws:
java.io.IOException
write
public void write(byte[] b,
int offset,
int length)
throws java.io.IOException
- Throws:
java.io.IOException
write
public void write(int b)
throws java.io.IOException
- Throws:
java.io.IOException
closed
public boolean closed()