Package akka.http.scaladsl.coding
Class Deflate
- java.lang.Object
-
- akka.http.scaladsl.coding.Deflate
-
- All Implemented Interfaces:
Coder
,Decoder
,Encoder
,StreamDecoder
- Direct Known Subclasses:
Deflate$
public class Deflate extends java.lang.Object implements Coder, StreamDecoder
Deprecated.Actual implementation of Deflate is internal API, use Coders.Deflate instead. Since 10.2.0.
-
-
Constructor Summary
Constructors Constructor Description Deflate(int compressionLevel, scala.Function1<HttpMessage,java.lang.Object> messageFilter)
Deprecated.Deflate(scala.Function1<HttpMessage,java.lang.Object> messageFilter)
Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description 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>
decoderFlow()
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>
encoderFlow()
Deprecated.HttpEncoding
encoding()
Deprecated.static int
maxBytesPerChunk()
Deprecated.scala.Function1<HttpMessage,java.lang.Object>
messageFilter()
Deprecated.DeflateCompressor
newCompressor()
Deprecated.scala.Function0<DeflateDecompressor>
newDecompressorStage(int maxBytesPerChunk)
Deprecated.static akka.stream.stage.GraphStage<akka.stream.FlowShape<akka.util.ByteString,akka.util.ByteString>>
newEncodeTransformer()
Deprecated.Deflate
withLevel(int level)
Deprecated.Use Coders.Deflate(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 Detail
-
Deflate
public Deflate(int compressionLevel, scala.Function1<HttpMessage,java.lang.Object> messageFilter)
Deprecated.
-
Deflate
public Deflate(scala.Function1<HttpMessage,java.lang.Object> messageFilter)
Deprecated.
-
-
Method Detail
-
encodeMessage
public static akka.http.scaladsl.coding.Encoder.message encodeMessage(HttpMessage message)
Deprecated.
-
encodeData
public static <T> T encodeData(T t, DataMapper<T> mapper)
Deprecated.
-
encoderFlow
public static akka.stream.scaladsl.Flow<akka.util.ByteString,akka.util.ByteString,akka.NotUsed> encoderFlow()
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
public static akka.http.scaladsl.coding.Decoder.message decodeMessage(HttpMessage message)
Deprecated.
-
decodeData
public static <T> T decodeData(T t, DataMapper<T> mapper)
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
public static Decoder withMaxBytesPerChunk(int newMaxBytesPerChunk)
Deprecated.
-
decoderFlow
public static akka.stream.scaladsl.Flow<akka.util.ByteString,akka.util.ByteString,akka.NotUsed> decoderFlow()
Deprecated.
-
messageFilter
public scala.Function1<HttpMessage,java.lang.Object> messageFilter()
Deprecated.- Specified by:
messageFilter
in interfaceEncoder
-
encoding
public HttpEncoding encoding()
Deprecated.
-
newCompressor
public DeflateCompressor newCompressor()
Deprecated.- Specified by:
newCompressor
in interfaceEncoder
-
newDecompressorStage
public scala.Function0<DeflateDecompressor> newDecompressorStage(int maxBytesPerChunk)
Deprecated.- Specified by:
newDecompressorStage
in interfaceStreamDecoder
-
withLevel
public Deflate withLevel(int level)
Deprecated.Use Coders.Deflate(compressionLevel = ...) instead. Since 10.2.0.
-
-