Package akka.http.scaladsl.coding
Class GzipCompressor
- java.lang.Object
-
- akka.http.scaladsl.coding.Compressor
-
- akka.http.scaladsl.coding.DeflateCompressor
-
- akka.http.scaladsl.coding.GzipCompressor
-
public class GzipCompressor extends DeflateCompressor
Internal API
-
-
Constructor Summary
Constructors Constructor Description GzipCompressor()
GzipCompressor(int compressionLevel)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected akka.util.ByteString
compressWithBuffer(akka.util.ByteString input, byte[] buffer)
static int
DefaultCompressionLevel()
protected java.util.zip.Deflater
deflater()
protected akka.util.ByteString
finishWithBuffer(byte[] buffer)
protected akka.util.ByteString
flushWithBuffer(byte[] buffer)
-
Methods inherited from class akka.http.scaladsl.coding.DeflateCompressor
compress, compressAndFinish, compressAndFlush, drainDeflater, finish, flush, MinBufferSize
-
-
-
-
Method Detail
-
DefaultCompressionLevel
public static int DefaultCompressionLevel()
-
deflater
protected java.util.zip.Deflater deflater()
- Overrides:
deflater
in classDeflateCompressor
-
compressWithBuffer
protected akka.util.ByteString compressWithBuffer(akka.util.ByteString input, byte[] buffer)
- Overrides:
compressWithBuffer
in classDeflateCompressor
-
flushWithBuffer
protected akka.util.ByteString flushWithBuffer(byte[] buffer)
- Overrides:
flushWithBuffer
in classDeflateCompressor
-
finishWithBuffer
protected akka.util.ByteString finishWithBuffer(byte[] buffer)
- Overrides:
finishWithBuffer
in classDeflateCompressor
-
-