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 SummaryConstructors
- 
Method SummaryModifier 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.DeflateCompressorcompress, compressAndFinish, compressAndFlush, drainDeflater, finish, flush, MinBufferSize
- 
Constructor Details- 
GzipCompressorpublic GzipCompressor(int compressionLevel) 
- 
GzipCompressorpublic GzipCompressor()
 
- 
- 
Method Details- 
DefaultCompressionLevelpublic static int DefaultCompressionLevel()
- 
deflater- Overrides:
- deflaterin class- DeflateCompressor
 
- 
compressWithBufferprotected org.apache.pekko.util.ByteString compressWithBuffer(org.apache.pekko.util.ByteString input, byte[] buffer) - Overrides:
- compressWithBufferin class- DeflateCompressor
 
- 
flushWithBufferprotected org.apache.pekko.util.ByteString flushWithBuffer(byte[] buffer) - Overrides:
- flushWithBufferin class- DeflateCompressor
 
- 
finishWithBufferprotected org.apache.pekko.util.ByteString finishWithBuffer(byte[] buffer) - Overrides:
- finishWithBufferin class- DeflateCompressor
 
 
-