Class Gzip
java.lang.Object
org.apache.pekko.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 Akka HTTP 10.2.0.
-
Constructor Summary
ConstructorsConstructorDescriptionGzip(int compressionLevel, scala.Function1<HttpMessage, Object> messageFilter) Deprecated.Gzip(scala.Function1<HttpMessage, Object> messageFilter) Deprecated. -
Method Summary
Modifier and TypeMethodDescriptionstatic Gzipapply(scala.Function1<HttpMessage, Object> messageFilter) Deprecated.static scala.concurrent.Future<org.apache.pekko.util.ByteString>decode(org.apache.pekko.util.ByteString input, org.apache.pekko.stream.Materializer mat) Deprecated.static <T> TdecodeData(T t, DataMapper<T> mapper) Deprecated.static org.apache.pekko.http.scaladsl.coding.Decoder.messagedecodeMessage(HttpMessage message) Deprecated.static org.apache.pekko.stream.scaladsl.Flow<org.apache.pekko.util.ByteString,org.apache.pekko.util.ByteString, org.apache.pekko.NotUsed> Deprecated.static org.apache.pekko.util.ByteStringencode(org.apache.pekko.util.ByteString input) Deprecated.static scala.concurrent.Future<org.apache.pekko.util.ByteString>encodeAsync(org.apache.pekko.util.ByteString input, org.apache.pekko.stream.Materializer mat) Deprecated.static <T> TencodeData(T t, DataMapper<T> mapper) Deprecated.static org.apache.pekko.http.scaladsl.coding.Encoder.messageencodeMessage(HttpMessage message) Deprecated.static org.apache.pekko.stream.scaladsl.Flow<org.apache.pekko.util.ByteString,org.apache.pekko.util.ByteString, org.apache.pekko.NotUsed> Deprecated.encoding()Deprecated.static intDeprecated.scala.Function1<HttpMessage,Object> Deprecated.Deprecated.scala.Function0<GzipDecompressor>newDecompressorStage(int maxBytesPerChunk) Deprecated.withLevel(int level) Deprecated.Use Coders.Gzip(compressionLevel = ...) instead.static DecoderwithMaxBytesPerChunk(int newMaxBytesPerChunk) Deprecated.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.pekko.http.scaladsl.coding.Decoder
decode, decodeData, decodeMessageMethods inherited from interface org.apache.pekko.http.scaladsl.coding.Encoder
encode, encodeAsync, encodeData, encodeMessage, encoderFlow, singleUseEncoderFlowMethods inherited from interface org.apache.pekko.http.scaladsl.coding.StreamDecoder
decoderFlow, maxBytesPerChunk, withMaxBytesPerChunk
-
Constructor Details
-
Gzip
Deprecated. -
Gzip
Deprecated.
-
-
Method Details
-
apply
Deprecated. -
encodeMessage
public static org.apache.pekko.http.scaladsl.coding.Encoder.message encodeMessage(HttpMessage message) Deprecated. -
encodeData
Deprecated. -
encoderFlow
public static org.apache.pekko.stream.scaladsl.Flow<org.apache.pekko.util.ByteString,org.apache.pekko.util.ByteString, encoderFlow()org.apache.pekko.NotUsed> Deprecated. -
encode
public static org.apache.pekko.util.ByteString encode(org.apache.pekko.util.ByteString input) Deprecated. -
encodeAsync
public static scala.concurrent.Future<org.apache.pekko.util.ByteString> encodeAsync(org.apache.pekko.util.ByteString input, org.apache.pekko.stream.Materializer mat) Deprecated. -
decodeMessage
public static org.apache.pekko.http.scaladsl.coding.Decoder.message decodeMessage(HttpMessage message) Deprecated. -
decodeData
Deprecated. -
decode
public static scala.concurrent.Future<org.apache.pekko.util.ByteString> decode(org.apache.pekko.util.ByteString input, org.apache.pekko.stream.Materializer mat) Deprecated. -
maxBytesPerChunk
public static int maxBytesPerChunk()Deprecated. -
withMaxBytesPerChunk
Deprecated. -
decoderFlow
public static org.apache.pekko.stream.scaladsl.Flow<org.apache.pekko.util.ByteString,org.apache.pekko.util.ByteString, decoderFlow()org.apache.pekko.NotUsed> Deprecated. -
messageFilter
Deprecated.- Specified by:
messageFilterin interfaceEncoder
-
encoding
Deprecated. -
newCompressor
Deprecated.- Specified by:
newCompressorin interfaceEncoder
-
newDecompressorStage
Deprecated.- Specified by:
newDecompressorStagein interfaceStreamDecoder
-
withLevel
Deprecated.Use Coders.Gzip(compressionLevel = ...) instead. Since Akka HTTP 10.2.0.
-