Class GzipCompressor
java.lang.Object
org.apache.pekko.http.scaladsl.coding.Compressor
org.apache.pekko.http.scaladsl.coding.DeflateCompressor
org.apache.pekko.http.scaladsl.coding.GzipCompressor
Internal API
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected org.apache.pekko.util.ByteStringcompressWithBuffer(org.apache.pekko.util.ByteString input, byte[] buffer) static intprotected Deflaterdeflater()protected org.apache.pekko.util.ByteStringfinishWithBuffer(byte[] buffer) protected org.apache.pekko.util.ByteStringflushWithBuffer(byte[] buffer) Methods inherited from class org.apache.pekko.http.scaladsl.coding.DeflateCompressor
compress, compressAndFinish, compressAndFlush, drainDeflater, finish, flush, MinBufferSize
-
Constructor Details
-
GzipCompressor
public GzipCompressor(int compressionLevel) -
GzipCompressor
public GzipCompressor()
-
-
Method Details
-
DefaultCompressionLevel
public static int DefaultCompressionLevel() -
deflater
- Overrides:
deflaterin classDeflateCompressor
-
compressWithBuffer
protected org.apache.pekko.util.ByteString compressWithBuffer(org.apache.pekko.util.ByteString input, byte[] buffer) - Overrides:
compressWithBufferin classDeflateCompressor
-
flushWithBuffer
protected org.apache.pekko.util.ByteString flushWithBuffer(byte[] buffer) - Overrides:
flushWithBufferin classDeflateCompressor
-
finishWithBuffer
protected org.apache.pekko.util.ByteString finishWithBuffer(byte[] buffer) - Overrides:
finishWithBufferin classDeflateCompressor
-