Package akka.stream.impl.io.compression
Class GzipCompressor
- java.lang.Object
-
- akka.stream.impl.io.compression.Compressor
-
- akka.stream.impl.io.compression.DeflateCompressor
-
- akka.stream.impl.io.compression.GzipCompressor
-
public class GzipCompressor extends DeflateCompressor
INTERNAL API
-
-
Constructor Summary
Constructors Constructor Description GzipCompressor(int compressionLevel)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static int
$lessinit$greater$default$1()
protected ByteString
compressWithBuffer(ByteString input, byte[] buffer)
protected java.util.zip.Deflater
deflater()
protected ByteString
finishWithBuffer(byte[] buffer)
protected ByteString
flushWithBuffer(byte[] buffer)
-
Methods inherited from class akka.stream.impl.io.compression.DeflateCompressor
$lessinit$greater$default$2, close, compress, compressAndFinish, compressAndFlush, drainDeflater, drainDeflater$default$3, finish, flush, MinBufferSize
-
-
-
-
Method Detail
-
$lessinit$greater$default$1
public static int $lessinit$greater$default$1()
-
deflater
protected java.util.zip.Deflater deflater()
- Overrides:
deflater
in classDeflateCompressor
-
compressWithBuffer
protected ByteString compressWithBuffer(ByteString input, byte[] buffer)
- Overrides:
compressWithBuffer
in classDeflateCompressor
-
flushWithBuffer
protected ByteString flushWithBuffer(byte[] buffer)
- Overrides:
flushWithBuffer
in classDeflateCompressor
-
finishWithBuffer
protected ByteString finishWithBuffer(byte[] buffer)
- Overrides:
finishWithBuffer
in classDeflateCompressor
-
-