Package akka.http.scaladsl.coding
Interface Encoder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description akka.util.ByteStringencode(akka.util.ByteString input)Deprecated.synchronous compression with `encode` is not supported in the future any more, use `encodeAsync` instead.scala.concurrent.Future<akka.util.ByteString>encodeAsync(akka.util.ByteString input, akka.stream.Materializer mat)<T> TencodeData(T t, DataMapper<T> mapper)akka.http.scaladsl.coding.Encoder.messageencodeMessage(HttpMessage message)akka.stream.scaladsl.Flow<akka.util.ByteString,akka.util.ByteString,akka.NotUsed>encoderFlow()HttpEncodingencoding()scala.Function1<HttpMessage,java.lang.Object>messageFilter()CompressornewCompressor()Deprecated.newCompressor is internal API.akka.stream.stage.GraphStage<akka.stream.FlowShape<akka.util.ByteString,akka.util.ByteString>>newEncodeTransformer()Deprecated.newEncodeTransformer is internal API.akka.stream.stage.GraphStage<akka.stream.FlowShape<akka.util.ByteString,akka.util.ByteString>>singleUseEncoderFlow()
-
-
-
Method Detail
-
encoding
HttpEncoding encoding()
-
messageFilter
scala.Function1<HttpMessage,java.lang.Object> messageFilter()
-
encodeMessage
akka.http.scaladsl.coding.Encoder.message encodeMessage(HttpMessage message)
-
encodeData
<T> T encodeData(T t, DataMapper<T> mapper)
-
encoderFlow
akka.stream.scaladsl.Flow<akka.util.ByteString,akka.util.ByteString,akka.NotUsed> encoderFlow()
-
encode
akka.util.ByteString encode(akka.util.ByteString input)
Deprecated.synchronous compression with `encode` is not supported in the future any more, use `encodeAsync` instead. Since 10.2.0.
-
encodeAsync
scala.concurrent.Future<akka.util.ByteString> encodeAsync(akka.util.ByteString input, akka.stream.Materializer mat)
-
newCompressor
Compressor newCompressor()
Deprecated.newCompressor is internal API. Since 10.2.0.
-
newEncodeTransformer
akka.stream.stage.GraphStage<akka.stream.FlowShape<akka.util.ByteString,akka.util.ByteString>> newEncodeTransformer()
Deprecated.newEncodeTransformer is internal API. Since 10.2.0.
-
singleUseEncoderFlow
akka.stream.stage.GraphStage<akka.stream.FlowShape<akka.util.ByteString,akka.util.ByteString>> singleUseEncoderFlow()
-
-