Class GZIPEncodingInterceptor.CommittedGZIPOutputStream
java.lang.Object
java.io.OutputStream
org.jboss.resteasy.spi.AsyncOutputStream
org.jboss.resteasy.util.CommitHeaderAsyncOutputStream
org.jboss.resteasy.plugins.interceptors.GZIPEncodingInterceptor.CommittedGZIPOutputStream
- All Implemented Interfaces:
Closeable
,Flushable
,AutoCloseable
- Enclosing class:
GZIPEncodingInterceptor
public static class GZIPEncodingInterceptor.CommittedGZIPOutputStream
extends CommitHeaderAsyncOutputStream
- Version:
- $Revision: 1 $
- Author:
- Bill Burke
-
Field Summary
Fields inherited from class org.jboss.resteasy.util.CommitHeaderAsyncOutputStream
delegate, headers, isHeadersCommitted
-
Constructor Summary
ModifierConstructorDescriptionprotected
CommittedGZIPOutputStream
(OutputStream delegate, CommitHeaderOutputStream.CommitCallback headers) protected
CommittedGZIPOutputStream
(AsyncOutputStream delegate, CommitHeaderOutputStream.CommitCallback headers) -
Method Summary
Methods inherited from class org.jboss.resteasy.util.CommitHeaderAsyncOutputStream
asyncFlush, asyncWrite, close, flush, getDelegate, setDelegate, setHeaders, write, write, write
Methods inherited from class org.jboss.resteasy.spi.AsyncOutputStream
asyncWrite
Methods inherited from class java.io.OutputStream
nullOutputStream
-
Field Details
-
gzip
-
-
Constructor Details
-
CommittedGZIPOutputStream
protected CommittedGZIPOutputStream(OutputStream delegate, CommitHeaderOutputStream.CommitCallback headers) -
CommittedGZIPOutputStream
protected CommittedGZIPOutputStream(AsyncOutputStream delegate, CommitHeaderOutputStream.CommitCallback headers)
-
-
Method Details
-
getGzip
-
commit
public void commit()- Overrides:
commit
in classCommitHeaderAsyncOutputStream
-