org.apache.hadoop.hbase.rest.filter
Class GZIPResponseStream

java.lang.Object
  extended by java.io.OutputStream
      extended by javax.servlet.ServletOutputStream
          extended by org.apache.hadoop.hbase.rest.filter.GZIPResponseStream
All Implemented Interfaces:
Closeable, Flushable

public class GZIPResponseStream
extends javax.servlet.ServletOutputStream


Constructor Summary
GZIPResponseStream(javax.servlet.http.HttpServletResponse response)
           
 
Method Summary
 void close()
           
 void finish()
           
 void flush()
           
 void resetBuffer()
           
 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

GZIPResponseStream

public GZIPResponseStream(javax.servlet.http.HttpServletResponse response)
                   throws IOException
Throws:
IOException
Method Detail

resetBuffer

public void resetBuffer()

write

public void write(int b)
           throws IOException
Specified by:
write in class OutputStream
Throws:
IOException

write

public void write(byte[] b)
           throws IOException
Overrides:
write in class OutputStream
Throws:
IOException

write

public void write(byte[] b,
                  int off,
                  int len)
           throws IOException
Overrides:
write in class OutputStream
Throws:
IOException

close

public void close()
           throws IOException
Specified by:
close in interface Closeable
Overrides:
close in class OutputStream
Throws:
IOException

flush

public void flush()
           throws IOException
Specified by:
flush in interface Flushable
Overrides:
flush in class OutputStream
Throws:
IOException

finish

public void finish()
            throws IOException
Throws:
IOException


Copyright © 2011 The Apache Software Foundation. All Rights Reserved.