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, MinBufferSizepublic GzipCompressor(int compressionLevel)
public GzipCompressor()
public static int DefaultCompressionLevel()
protected java.util.zip.Deflater deflater()
deflater in class DeflateCompressorprotected org.apache.pekko.util.ByteString compressWithBuffer(org.apache.pekko.util.ByteString input,
byte[] buffer)
compressWithBuffer in class DeflateCompressorprotected org.apache.pekko.util.ByteString flushWithBuffer(byte[] buffer)
flushWithBuffer in class DeflateCompressorprotected org.apache.pekko.util.ByteString finishWithBuffer(byte[] buffer)
finishWithBuffer in class DeflateCompressor