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.ByteStringcompressWithBuffer(akka.util.ByteString input, byte[] buffer)static intDefaultCompressionLevel()protected java.util.zip.Deflaterdeflater()protected akka.util.ByteStringfinishWithBuffer(byte[] buffer)protected akka.util.ByteStringflushWithBuffer(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:
deflaterin classDeflateCompressor
-
compressWithBuffer
protected akka.util.ByteString compressWithBuffer(akka.util.ByteString input, byte[] buffer)- Overrides:
compressWithBufferin classDeflateCompressor
-
flushWithBuffer
protected akka.util.ByteString flushWithBuffer(byte[] buffer)
- Overrides:
flushWithBufferin classDeflateCompressor
-
finishWithBuffer
protected akka.util.ByteString finishWithBuffer(byte[] buffer)
- Overrides:
finishWithBufferin classDeflateCompressor
-
-