Class Gzip

    • Constructor Detail

      • Gzip

        public Gzip​(int compressionLevel,
                    scala.Function1<HttpMessage,​java.lang.Object> messageFilter)
        Deprecated.
      • Gzip

        public Gzip​(scala.Function1<HttpMessage,​java.lang.Object> messageFilter)
        Deprecated.
    • Method Detail

      • apply

        public static Gzip apply​(scala.Function1<HttpMessage,​java.lang.Object> messageFilter)
        Deprecated.
      • encodeMessage

        public static akka.http.scaladsl.coding.Encoder.message encodeMessage​(HttpMessage message)
        Deprecated.
      • encodeData

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

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

        public Gzip withLevel​(int level)
        Deprecated.
        Use Coders.Gzip(compressionLevel = ...) instead. Since 10.2.0.