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<StreamSinkConduit> conduitFactory,
HttpServerExchange exchange) |
GzipStreamSinkConduit(ConduitFactory<StreamSinkConduit> conduitFactory,
HttpServerExchange exchange,
int deflateLevel) |
GzipStreamSinkConduit(ConduitFactory<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, writeFinal
protected CRC32 crc
public GzipStreamSinkConduit(ConduitFactory<StreamSinkConduit> conduitFactory, HttpServerExchange exchange)
public GzipStreamSinkConduit(ConduitFactory<StreamSinkConduit> conduitFactory, HttpServerExchange exchange, int deflateLevel)
public GzipStreamSinkConduit(ConduitFactory<StreamSinkConduit> conduitFactory, HttpServerExchange exchange, ObjectPool deflaterPool)
protected void preDeflate(byte[] data)
preDeflate
in class DeflatingStreamSinkConduit
protected byte[] getTrailer()
DeflatingStreamSinkConduit
getTrailer
in class DeflatingStreamSinkConduit
Copyright © 2019 JBoss by Red Hat. All rights reserved.