Class NoCoding

java.lang.Object
akka.http.scaladsl.coding.NoCoding

public class NoCoding extends Object
Deprecated.
Actual implementation of NoCoding is internal API, use Coders.NoCoding instead. Since 10.2.0.
An encoder and decoder for the HTTP 'identity' encoding.
  • Constructor Details

    • NoCoding

      public NoCoding()
      Deprecated.
  • Method Details

    • encoding

      public static HttpEncoding encoding()
      Deprecated.
    • encodeData

      public static <T> T encodeData(T t, DataMapper<T> mapper)
      Deprecated.
    • decodeData

      public static <T> T decodeData(T t, DataMapper<T> mapper)
      Deprecated.
    • messageFilter

      public static scala.Function1<HttpMessage,Object> messageFilter()
      Deprecated.
    • newCompressor

      public static NoCodingCompressor$ newCompressor()
      Deprecated.
    • newDecompressorStage

      public static scala.Function0<akka.stream.stage.GraphStage<akka.stream.FlowShape<akka.util.ByteString,akka.util.ByteString>>> newDecompressorStage(int maxBytesPerChunk)
      Deprecated.
    • encodeMessage

      public static akka.http.scaladsl.coding.Encoder.message encodeMessage(HttpMessage message)
      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.
    • 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.