Package akka.http.scaladsl.coding
Class NoCodingCompressor$
- java.lang.Object
-
- akka.http.scaladsl.coding.Compressor
-
- akka.http.scaladsl.coding.NoCodingCompressor$
-
public class NoCodingCompressor$ extends Compressor
Deprecated.NoCodingCompressor is internal API and will be moved or removed in the future. Since 10.2.0.
-
-
Field Summary
Fields Modifier and Type Field Description static NoCodingCompressor$MODULE$Deprecated.Static reference to the singleton instance of this Scala object.
-
Constructor Summary
Constructors Constructor Description NoCodingCompressor$()Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description akka.util.ByteStringcompress(akka.util.ByteString input)Deprecated.Compresses the given input and returns compressed data.akka.util.ByteStringcompressAndFinish(akka.util.ByteString input)Deprecated.Combines `compress` + `finish`akka.util.ByteStringcompressAndFlush(akka.util.ByteString input)Deprecated.Combines `compress` + `flush`akka.util.ByteStringfinish()Deprecated.Closes this compressed stream and return the remaining compressed data.akka.util.ByteStringflush()Deprecated.Flushes any output data and returns the currently remaining compressed data.
-
-
-
Field Detail
-
MODULE$
public static final NoCodingCompressor$ MODULE$
Deprecated.Static reference to the singleton instance of this Scala object.
-
-
Method Detail
-
compress
public akka.util.ByteString compress(akka.util.ByteString input)
Deprecated.Description copied from class:CompressorCompresses the given input and returns compressed data. The implementation can and will choose to buffer output data to improve compression. UseflushorcompressAndFlushto make sure that all input data has been compressed and pending output data has been returned.- Specified by:
compressin classCompressor- Parameters:
input- (undocumented)- Returns:
- (undocumented)
-
flush
public akka.util.ByteString flush()
Deprecated.Description copied from class:CompressorFlushes any output data and returns the currently remaining compressed data.- Specified by:
flushin classCompressor- Returns:
- (undocumented)
-
finish
public akka.util.ByteString finish()
Deprecated.Description copied from class:CompressorCloses this compressed stream and return the remaining compressed data. After calling this method, this Compressor cannot be used any further.- Specified by:
finishin classCompressor- Returns:
- (undocumented)
-
compressAndFlush
public akka.util.ByteString compressAndFlush(akka.util.ByteString input)
Deprecated.Description copied from class:CompressorCombines `compress` + `flush`- Specified by:
compressAndFlushin classCompressor
-
compressAndFinish
public akka.util.ByteString compressAndFinish(akka.util.ByteString input)
Deprecated.Description copied from class:CompressorCombines `compress` + `finish`- Specified by:
compressAndFinishin classCompressor
-
-