public class GzipCompressor extends DeflateCompressor
Constructor and Description |
---|
GzipCompressor() |
GzipCompressor(int compressionLevel) |
Modifier and Type | Method and Description |
---|---|
protected org.apache.pekko.util.ByteString |
compressWithBuffer(org.apache.pekko.util.ByteString input,
byte[] buffer) |
static int |
DefaultCompressionLevel() |
protected java.util.zip.Deflater |
deflater() |
protected org.apache.pekko.util.ByteString |
finishWithBuffer(byte[] buffer) |
protected org.apache.pekko.util.ByteString |
flushWithBuffer(byte[] buffer) |
compress, compressAndFinish, compressAndFlush, drainDeflater, finish, flush, MinBufferSize
public GzipCompressor(int compressionLevel)
public GzipCompressor()
public static int DefaultCompressionLevel()
protected java.util.zip.Deflater deflater()
deflater
in class DeflateCompressor
protected org.apache.pekko.util.ByteString compressWithBuffer(org.apache.pekko.util.ByteString input, byte[] buffer)
compressWithBuffer
in class DeflateCompressor
protected org.apache.pekko.util.ByteString flushWithBuffer(byte[] buffer)
flushWithBuffer
in class DeflateCompressor
protected org.apache.pekko.util.ByteString finishWithBuffer(byte[] buffer)
finishWithBuffer
in class DeflateCompressor