Packages

class Gzip extends Coder with StreamDecoder

Annotations
@InternalApi() @deprecated
Deprecated

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

Source
Gzip.scala
Known Subclasses
Type Hierarchy
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Gzip
  2. StreamDecoder
  3. Coder
  4. Decoder
  5. Encoder
  6. AnyRef
  7. Any
Implicitly
  1. by any2stringadd
  2. by StringFormat
  3. by Ensuring
  4. by ArrowAssoc
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new Gzip(messageFilter: (HttpMessage) => Boolean)

Value Members

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

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