public class GzipStreamSinkConduit extends DeflatingStreamSinkConduit
| Modifier and Type | Field and Description | 
|---|---|
protected CRC32 |  crc CRC-32 of uncompressed data.   |  
currentBuffer, deflater| Constructor and Description | 
|---|
GzipStreamSinkConduit(ConduitFactory<org.xnio.conduits.StreamSinkConduit> conduitFactory, HttpServerExchange exchange)  |  
GzipStreamSinkConduit(ConduitFactory<org.xnio.conduits.StreamSinkConduit> conduitFactory, HttpServerExchange exchange, int deflateLevel)  |  
| Modifier and Type | Method and Description | 
|---|---|
protected byte[] |  getTrailer() called before the stream is finally flushed.   |  
protected void |  preDeflate(byte[] data)  |  
awaitWritable, awaitWritable, flush, getWorker, getWriteThread, isWriteResumed, isWriteShutdown, resumeWrites, setWriteReadyHandler, suspendWrites, terminateWrites, transferFrom, transferFrom, truncateWrites, wakeupWrites, write, write, writeFinal, writeFinalprotected CRC32 crc
public GzipStreamSinkConduit(ConduitFactory<org.xnio.conduits.StreamSinkConduit> conduitFactory, HttpServerExchange exchange)
public GzipStreamSinkConduit(ConduitFactory<org.xnio.conduits.StreamSinkConduit> conduitFactory, HttpServerExchange exchange, int deflateLevel)
protected void preDeflate(byte[] data)
preDeflate in class DeflatingStreamSinkConduitprotected byte[] getTrailer()
DeflatingStreamSinkConduitgetTrailer in class DeflatingStreamSinkConduitCopyright © 2017 JBoss by Red Hat. All rights reserved.