Interface Encoder

    • Method Detail

      • 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()