Packages

object Gzip extends Gzip

An encoder and decoder for the HTTP 'gzip' encoding.

Annotations
@InternalApi() @deprecated
Deprecated

(Since version 10.2.0) Actual implementation of Gzip is internal API, use Coders.Gzip instead

Source
Gzip.scala
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Gzip
  2. Gzip
  3. StreamDecoder
  4. Coder
  5. Decoder
  6. Encoder
  7. AnyRef
  8. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Value Members

  1. def apply(messageFilter: (HttpMessage) => Boolean): Gzip
  2. def decode(input: ByteString)(implicit mat: Materializer): Future[ByteString]
    Definition Classes
    Decoder
  3. def decodeData[T](t: T)(implicit mapper: DataMapper[T]): T
    Definition Classes
    Decoder
  4. def decodeMessage(message: HttpMessage): Self
    Definition Classes
    Decoder
  5. def decoderFlow: Flow[ByteString, ByteString, NotUsed]
    Definition Classes
    StreamDecoderDecoder
  6. def encodeAsync(input: ByteString)(implicit mat: Materializer): Future[ByteString]
    Definition Classes
    Encoder
  7. def encodeData[T](t: T)(implicit mapper: DataMapper[T]): T
    Definition Classes
    Encoder
  8. def encodeMessage(message: HttpMessage): Self
    Definition Classes
    Encoder
  9. def encoderFlow: Flow[ByteString, ByteString, NotUsed]
    Definition Classes
    Encoder
  10. val encoding: HttpEncoding
    Definition Classes
    GzipDecoderEncoder
  11. def maxBytesPerChunk: Int
    Definition Classes
    StreamDecoderDecoder
  12. val messageFilter: (HttpMessage) => Boolean
    Definition Classes
    GzipEncoder
  13. def newCompressor: GzipCompressor
    Definition Classes
    GzipEncoder
  14. def newDecompressorStage(maxBytesPerChunk: Int): () => GzipDecompressor
    Definition Classes
    GzipStreamDecoder
  15. def withMaxBytesPerChunk(newMaxBytesPerChunk: Int): Decoder
    Definition Classes
    StreamDecoderDecoder

Deprecated Value Members

  1. def encode(input: ByteString): ByteString
    Definition Classes
    Encoder
    Annotations
    @InternalApi() @deprecated
    Deprecated

    (Since version 10.2.0) synchronous compression with encode is not supported in the future any more, use encodeAsync instead

  2. def newEncodeTransformer(): GraphStage[FlowShape[ByteString, ByteString]]
    Definition Classes
    Encoder
    Annotations
    @InternalApi() @deprecated
    Deprecated

    (Since version 10.2.0) newEncodeTransformer is internal API

  3. def withLevel(level: Int): Gzip
    Definition Classes
    Gzip
    Annotations
    @deprecated
    Deprecated

    (Since version 10.2.0) Use Coders.Gzip(compressionLevel = ...) instead