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