org.jboss.resteasy.plugins.interceptors.encoding
Class GZIPEncodingInterceptor.CommittedGZIPOutputStream

java.lang.Object
  extended by java.io.OutputStream
      extended by org.jboss.resteasy.util.CommitHeaderOutputStream
          extended by org.jboss.resteasy.plugins.interceptors.encoding.GZIPEncodingInterceptor.CommittedGZIPOutputStream
All Implemented Interfaces:
Closeable, Flushable
Enclosing class:
GZIPEncodingInterceptor

public static class GZIPEncodingInterceptor.CommittedGZIPOutputStream
extends CommitHeaderOutputStream


Nested Class Summary
 
Nested classes/interfaces inherited from class org.jboss.resteasy.util.CommitHeaderOutputStream
CommitHeaderOutputStream.CommitCallback
 
Field Summary
protected  GZIPOutputStream gzip
           
 
Fields inherited from class org.jboss.resteasy.util.CommitHeaderOutputStream
delegate, headers, isHeadersCommitted
 
Constructor Summary
protected GZIPEncodingInterceptor.CommittedGZIPOutputStream(OutputStream delegate, CommitHeaderOutputStream.CommitCallback headers)
           
 
Method Summary
 void commit()
           
 GZIPOutputStream getGzip()
           
 
Methods inherited from class org.jboss.resteasy.util.CommitHeaderOutputStream
close, flush, write, write, write
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

gzip

protected GZIPOutputStream gzip
Constructor Detail

GZIPEncodingInterceptor.CommittedGZIPOutputStream

protected GZIPEncodingInterceptor.CommittedGZIPOutputStream(OutputStream delegate,
                                                            CommitHeaderOutputStream.CommitCallback headers)
Method Detail

getGzip

public GZIPOutputStream getGzip()

commit

public void commit()
Overrides:
commit in class CommitHeaderOutputStream


Copyright © 2013. All Rights Reserved.