Package akka.http.scaladsl.coding
Class Gzip
java.lang.Object
akka.http.scaladsl.coding.Gzip
- All Implemented Interfaces:
Coder
,Decoder
,Encoder
,StreamDecoder
- Direct Known Subclasses:
Gzip$
Deprecated.
Actual implementation of Gzip is internal, use Coders.Gzip instead. Since 10.2.0.
-
Constructor Summary
ConstructorDescriptionGzip
(int compressionLevel, scala.Function1<HttpMessage, Object> messageFilter) Deprecated.Gzip
(scala.Function1<HttpMessage, Object> messageFilter) Deprecated. -
Method Summary
Modifier and TypeMethodDescriptionstatic Gzip
apply
(scala.Function1<HttpMessage, Object> messageFilter) Deprecated.static scala.concurrent.Future<akka.util.ByteString>
decode
(akka.util.ByteString input, akka.stream.Materializer mat) Deprecated.static <T> T
decodeData
(T t, DataMapper<T> mapper) Deprecated.static akka.http.scaladsl.coding.Decoder.message
decodeMessage
(HttpMessage message) Deprecated.static akka.stream.scaladsl.Flow<akka.util.ByteString,
akka.util.ByteString, akka.NotUsed> Deprecated.static akka.util.ByteString
encode
(akka.util.ByteString input) Deprecated.static scala.concurrent.Future<akka.util.ByteString>
encodeAsync
(akka.util.ByteString input, akka.stream.Materializer mat) Deprecated.static <T> T
encodeData
(T t, DataMapper<T> mapper) Deprecated.static akka.http.scaladsl.coding.Encoder.message
encodeMessage
(HttpMessage message) Deprecated.static akka.stream.scaladsl.Flow<akka.util.ByteString,
akka.util.ByteString, akka.NotUsed> Deprecated.encoding()
Deprecated.static int
Deprecated.scala.Function1<HttpMessage,
Object> Deprecated.Deprecated.scala.Function0<GzipDecompressor>
newDecompressorStage
(int maxBytesPerChunk) Deprecated.static akka.stream.stage.GraphStage<akka.stream.FlowShape<akka.util.ByteString,
akka.util.ByteString>> Deprecated.withLevel
(int level) Deprecated.Use Coders.Gzip(compressionLevel = ...) instead.static Decoder
withMaxBytesPerChunk
(int newMaxBytesPerChunk) Deprecated.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface akka.http.scaladsl.coding.Decoder
decode, decodeData, decodeMessage
Methods inherited from interface akka.http.scaladsl.coding.Encoder
encode, encodeAsync, encodeData, encodeMessage, encoderFlow, newEncodeTransformer, singleUseEncoderFlow
Methods inherited from interface akka.http.scaladsl.coding.StreamDecoder
decoderFlow, maxBytesPerChunk, withMaxBytesPerChunk
-
Constructor Details
-
Gzip
Deprecated. -
Gzip
Deprecated.
-
-
Method Details
-
apply
Deprecated. -
encodeMessage
Deprecated. -
encodeData
Deprecated. -
encoderFlow
public static akka.stream.scaladsl.Flow<akka.util.ByteString,akka.util.ByteString, encoderFlow()akka.NotUsed> Deprecated. -
encode
public static akka.util.ByteString encode(akka.util.ByteString input) Deprecated. -
encodeAsync
public static scala.concurrent.Future<akka.util.ByteString> encodeAsync(akka.util.ByteString input, akka.stream.Materializer mat) Deprecated. -
newEncodeTransformer
public static akka.stream.stage.GraphStage<akka.stream.FlowShape<akka.util.ByteString,akka.util.ByteString>> newEncodeTransformer()Deprecated. -
decodeMessage
Deprecated. -
decodeData
Deprecated. -
decode
public static scala.concurrent.Future<akka.util.ByteString> decode(akka.util.ByteString input, akka.stream.Materializer mat) Deprecated. -
maxBytesPerChunk
public static int maxBytesPerChunk()Deprecated. -
withMaxBytesPerChunk
Deprecated. -
decoderFlow
public static akka.stream.scaladsl.Flow<akka.util.ByteString,akka.util.ByteString, decoderFlow()akka.NotUsed> Deprecated. -
messageFilter
Deprecated.- Specified by:
messageFilter
in interfaceEncoder
-
encoding
Deprecated. -
newCompressor
Deprecated.- Specified by:
newCompressor
in interfaceEncoder
-
newDecompressorStage
Deprecated.- Specified by:
newDecompressorStage
in interfaceStreamDecoder
-
withLevel
Deprecated.Use Coders.Gzip(compressionLevel = ...) instead. Since 10.2.0.
-