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
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- Gzip
- Gzip
- StreamDecoder
- Coder
- Decoder
- Encoder
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Value Members
- def apply(messageFilter: (HttpMessage) => Boolean): Gzip
- def decode(input: ByteString)(implicit mat: Materializer): Future[ByteString]
- Definition Classes
- Decoder
- def decodeData[T](t: T)(implicit mapper: DataMapper[T]): T
- Definition Classes
- Decoder
- def decodeMessage(message: HttpMessage): Self
- Definition Classes
- Decoder
- def decoderFlow: Flow[ByteString, ByteString, NotUsed]
- Definition Classes
- StreamDecoder → Decoder
- def encodeAsync(input: ByteString)(implicit mat: Materializer): Future[ByteString]
- Definition Classes
- Encoder
- def encodeData[T](t: T)(implicit mapper: DataMapper[T]): T
- Definition Classes
- Encoder
- def encodeMessage(message: HttpMessage): Self
- Definition Classes
- Encoder
- def encoderFlow: Flow[ByteString, ByteString, NotUsed]
- Definition Classes
- Encoder
- val encoding: HttpEncoding
- def maxBytesPerChunk: Int
- Definition Classes
- StreamDecoder → Decoder
- val messageFilter: (HttpMessage) => Boolean
- def newCompressor: GzipCompressor
- def newDecompressorStage(maxBytesPerChunk: Int): () => GzipDecompressor
- Definition Classes
- Gzip → StreamDecoder
- def withMaxBytesPerChunk(newMaxBytesPerChunk: Int): Decoder
- Definition Classes
- StreamDecoder → Decoder
Deprecated Value Members
- 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, useencodeAsync
instead
- def newEncodeTransformer(): GraphStage[FlowShape[ByteString, ByteString]]
- Definition Classes
- Encoder
- Annotations
- @InternalApi() @deprecated
- Deprecated
(Since version 10.2.0) newEncodeTransformer is internal API
- def withLevel(level: Int): Gzip
- Definition Classes
- Gzip
- Annotations
- @deprecated
- Deprecated
(Since version 10.2.0) Use Coders.Gzip(compressionLevel = ...) instead