org.xnio.conduits.Conduit, org.xnio.conduits.SinkConduit, org.xnio.conduits.StreamSinkConduitpublic class GzipStreamSinkConduit extends DeflatingStreamSinkConduit
| Modifier and Type | Field | Description |
|---|---|---|
protected java.util.zip.CRC32 |
crc |
CRC-32 of uncompressed data.
|
currentBuffer, deflater| Constructor | 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 | 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, writeFinalpublic 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 © 2018. All rights reserved.