Class Deflate

java.lang.Object
org.apache.pekko.http.scaladsl.coding.Deflate
All Implemented Interfaces:
Coder, Decoder, Encoder, StreamDecoder
Direct Known Subclasses:
Deflate$

public class Deflate extends Object implements Coder, StreamDecoder
Deprecated.
Actual implementation of Deflate is internal API, use Coders.Deflate instead. Since Akka HTTP 10.2.0.
  • Constructor Details

    • Deflate

      public Deflate(int compressionLevel, scala.Function1<HttpMessage,Object> messageFilter)
      Deprecated.
    • Deflate

      public Deflate(scala.Function1<HttpMessage,Object> messageFilter)
      Deprecated.
  • Method Details

    • encodeMessage

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

      public static <T> T encodeData(T t, DataMapper<T> mapper)
      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.
    • decodeData

      public static <T> T decodeData(T t, DataMapper<T> mapper)
      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.
    • messageFilter

      public scala.Function1<HttpMessage,Object> messageFilter()
      Deprecated.
      Specified by:
      messageFilter in interface Encoder
    • encoding

      public HttpEncoding encoding()
      Deprecated.
      Specified by:
      encoding in interface Decoder
      Specified by:
      encoding in interface Encoder
    • newCompressor

      public DeflateCompressor newCompressor()
      Deprecated.
      Specified by:
      newCompressor in interface Encoder
    • newDecompressorStage

      public scala.Function0<DeflateDecompressor> newDecompressorStage(int maxBytesPerChunk)
      Deprecated.
      Specified by:
      newDecompressorStage in interface StreamDecoder
    • withLevel

      public Deflate withLevel(int level)
      Deprecated.
      Use Coders.Deflate(compressionLevel = ...) instead. Since Akka HTTP 10.2.0.