Packages

class Deflate extends Coder with StreamDecoder

Annotations
@InternalApi() @deprecated
Deprecated

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

Source
Deflate.scala
Known Subclasses
Type Hierarchy
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Deflate
  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 Deflate(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
    DeflateDecoderEncoder
  10. def maxBytesPerChunk: Int
    Definition Classes
    StreamDecoderDecoder
  11. val messageFilter: (HttpMessage) => Boolean
    Definition Classes
    DeflateEncoder
  12. def newCompressor: DeflateCompressor
    Definition Classes
    DeflateEncoder
  13. def newDecompressorStage(maxBytesPerChunk: Int): () => DeflateDecompressor
    Definition Classes
    DeflateStreamDecoder
  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): Deflate
    Annotations
    @deprecated
    Deprecated

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