public class GzipStreamSinkConduit extends DeflatingStreamSinkConduit
| Modifier and Type | Field and Description |
|---|---|
protected CRC32 | crc CRC-32 of uncompressed data. |
currentBuffer, deflater, pooledObject| Constructor and Description |
|---|
GzipStreamSinkConduit(ConduitFactory<org.xnio.conduits.StreamSinkConduit> conduitFactory, HttpServerExchange exchange) |
GzipStreamSinkConduit(ConduitFactory<org.xnio.conduits.StreamSinkConduit> conduitFactory, HttpServerExchange exchange, int deflateLevel) |
GzipStreamSinkConduit(ConduitFactory<org.xnio.conduits.StreamSinkConduit> conduitFactory, HttpServerExchange exchange, ObjectPool deflaterPool) |
| 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, newInstanceDeflaterPool, resumeWrites, setWriteReadyHandler, simpleDeflaterPool, 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)
public GzipStreamSinkConduit(ConduitFactory<org.xnio.conduits.StreamSinkConduit> conduitFactory, HttpServerExchange exchange, ObjectPool deflaterPool)
protected void preDeflate(byte[] data)
preDeflate in class DeflatingStreamSinkConduitprotected byte[] getTrailer()
DeflatingStreamSinkConduitgetTrailer in class DeflatingStreamSinkConduitCopyright © 2020 JBoss by Red Hat. All rights reserved.