Class Deflate
java.lang.Object
org.apache.pekko.http.scaladsl.coding.Deflate
- All Implemented Interfaces:
Coder,Decoder,Encoder,StreamDecoder
- Direct Known Subclasses:
Deflate$
Deprecated.
Actual implementation of Deflate is internal API, use Coders.Deflate instead. Since Akka HTTP 10.2.0.
-
Constructor Summary
ConstructorsConstructorDescriptionDeflate(int compressionLevel, scala.Function1<HttpMessage, Object> messageFilter) Deprecated.Deflate(scala.Function1<HttpMessage, Object> messageFilter) Deprecated. -
Method Summary
Modifier and TypeMethodDescriptionstatic 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<DeflateDecompressor>newDecompressorStage(int maxBytesPerChunk) Deprecated.withLevel(int level) Deprecated.Use Coders.Deflate(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
-
Deflate
Deprecated. -
Deflate
Deprecated.
-
-
Method Details
-
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.Deflate(compressionLevel = ...) instead. Since Akka HTTP 10.2.0.
-