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.ByteString
compress(akka.util.ByteString input)
Deprecated.Compresses the given input and returns compressed data.akka.util.ByteString
compressAndFinish(akka.util.ByteString input)
Deprecated.Combines `compress` + `finish`akka.util.ByteString
compressAndFlush(akka.util.ByteString input)
Deprecated.Combines `compress` + `flush`akka.util.ByteString
finish()
Deprecated.Closes this compressed stream and return the remaining compressed data.akka.util.ByteString
flush()
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:Compressor
Compresses the given input and returns compressed data. The implementation can and will choose to buffer output data to improve compression. Useflush
orcompressAndFlush
to make sure that all input data has been compressed and pending output data has been returned.- Specified by:
compress
in classCompressor
- Parameters:
input
- (undocumented)- Returns:
- (undocumented)
-
flush
public akka.util.ByteString flush()
Deprecated.Description copied from class:Compressor
Flushes any output data and returns the currently remaining compressed data.- Specified by:
flush
in classCompressor
- Returns:
- (undocumented)
-
finish
public akka.util.ByteString finish()
Deprecated.Description copied from class:Compressor
Closes this compressed stream and return the remaining compressed data. After calling this method, this Compressor cannot be used any further.- Specified by:
finish
in classCompressor
- Returns:
- (undocumented)
-
compressAndFlush
public akka.util.ByteString compressAndFlush(akka.util.ByteString input)
Deprecated.Description copied from class:Compressor
Combines `compress` + `flush`- Specified by:
compressAndFlush
in classCompressor
-
compressAndFinish
public akka.util.ByteString compressAndFinish(akka.util.ByteString input)
Deprecated.Description copied from class:Compressor
Combines `compress` + `finish`- Specified by:
compressAndFinish
in classCompressor
-
-