Class NoCoding

java.lang.Object
org.apache.pekko.http.scaladsl.coding.NoCoding

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

    Constructors
    Constructor
    Description
    Deprecated.
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static scala.concurrent.Future<org.apache.pekko.util.ByteString>
    decode(org.apache.pekko.util.ByteString input, org.apache.pekko.stream.Materializer mat)
    Deprecated.
     
    static <T> T
    decodeData(T t, DataMapper<T> mapper)
    Deprecated.
     
    static org.apache.pekko.http.scaladsl.coding.Decoder.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.ByteString
    encode(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> T
    encodeData(T t, DataMapper<T> mapper)
    Deprecated.
     
    static org.apache.pekko.http.scaladsl.coding.Encoder.message
    Deprecated.
     
    static org.apache.pekko.stream.scaladsl.Flow<org.apache.pekko.util.ByteString,org.apache.pekko.util.ByteString,org.apache.pekko.NotUsed>
    Deprecated.
     
    Deprecated.
     
    static int
    Deprecated.
     
    static scala.Function1<HttpMessage,Object>
    Deprecated.
     
    Deprecated.
     
    static scala.Function0<org.apache.pekko.stream.stage.GraphStage<org.apache.pekko.stream.FlowShape<org.apache.pekko.util.ByteString,org.apache.pekko.util.ByteString>>>
    newDecompressorStage(int maxBytesPerChunk)
    Deprecated.
     
    static Decoder
    withMaxBytesPerChunk(int newMaxBytesPerChunk)
    Deprecated.
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 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<org.apache.pekko.stream.stage.GraphStage<org.apache.pekko.stream.FlowShape<org.apache.pekko.util.ByteString,org.apache.pekko.util.ByteString>>> newDecompressorStage(int maxBytesPerChunk)
      Deprecated.
    • encodeMessage

      public static org.apache.pekko.http.scaladsl.coding.Encoder.message encodeMessage(HttpMessage message)
      Deprecated.
    • encoderFlow

      public static org.apache.pekko.stream.scaladsl.Flow<org.apache.pekko.util.ByteString,org.apache.pekko.util.ByteString,org.apache.pekko.NotUsed> encoderFlow()
      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.
    • 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

      public static Decoder withMaxBytesPerChunk(int newMaxBytesPerChunk)
      Deprecated.
    • decoderFlow

      public static org.apache.pekko.stream.scaladsl.Flow<org.apache.pekko.util.ByteString,org.apache.pekko.util.ByteString,org.apache.pekko.NotUsed> decoderFlow()
      Deprecated.