public abstract class Compressor
extends java.lang.Object
Constructor and Description |
---|
Compressor()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
abstract org.apache.pekko.util.ByteString |
compress(org.apache.pekko.util.ByteString input)
Deprecated.
Compresses the given input and returns compressed data.
|
abstract org.apache.pekko.util.ByteString |
compressAndFinish(org.apache.pekko.util.ByteString input)
Deprecated.
Combines `compress` + `finish`
|
abstract org.apache.pekko.util.ByteString |
compressAndFlush(org.apache.pekko.util.ByteString input)
Deprecated.
Combines `compress` + `flush`
|
abstract org.apache.pekko.util.ByteString |
finish()
Deprecated.
Closes this compressed stream and return the remaining compressed data.
|
abstract org.apache.pekko.util.ByteString |
flush()
Deprecated.
Flushes any output data and returns the currently remaining compressed data.
|
public abstract org.apache.pekko.util.ByteString compress(org.apache.pekko.util.ByteString input)
flush
or compressAndFlush
to make sure that all input data has been
compressed and pending output data has been returned.input
- (undocumented)public abstract org.apache.pekko.util.ByteString compressAndFinish(org.apache.pekko.util.ByteString input)
public abstract org.apache.pekko.util.ByteString compressAndFlush(org.apache.pekko.util.ByteString input)
public abstract org.apache.pekko.util.ByteString finish()
public abstract org.apache.pekko.util.ByteString flush()