com.liferay.filters.compression
Class CompressionStream

java.lang.Object
  extended byjava.io.OutputStream
      extended byjavax.servlet.ServletOutputStream
          extended bycom.liferay.filters.compression.CompressionStream

public class CompressionStream
extends javax.servlet.ServletOutputStream

View Source

Author:
Jayson Falkner, Brian Wing Shun Chan

Constructor Summary
CompressionStream(javax.servlet.http.HttpServletResponse res)
           
 
Method Summary
 void close()
           
 boolean closed()
           
 void flush()
           
 void reset()
           
 void write(byte[] b)
           
 void write(byte[] b, int off, int len)
           
 void write(int b)
           
 
Methods inherited from class javax.servlet.ServletOutputStream
print, print, print, print, print, print, print, println, println, println, println, println, println, println, println
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CompressionStream

public CompressionStream(javax.servlet.http.HttpServletResponse res)
                  throws java.io.IOException
Method Detail

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()