Class Gzip
java.lang.Object
org.apache.pekko.http.scaladsl.coding.Gzip
- All Implemented Interfaces:
- Coder,- Decoder,- Encoder,- StreamDecoder
- Direct Known Subclasses:
- Gzip$
Deprecated.
Actual implementation of Gzip is internal, use Coders.Gzip instead. Since Akka HTTP 10.2.0.
- 
Constructor SummaryConstructorsConstructorDescriptionGzip(int compressionLevel, scala.Function1<HttpMessage, Object> messageFilter) Deprecated.Gzip(scala.Function1<HttpMessage, Object> messageFilter) Deprecated.
- 
Method SummaryModifier and TypeMethodDescriptionstatic Gzipapply(scala.Function1<HttpMessage, Object> messageFilter) Deprecated.static scala.concurrent.Future<org.apache.pekko.util.ByteString>decode(org.apache.pekko.util.ByteString input, org.apache.pekko.stream.Materializer mat) Deprecated.static <T> TdecodeData(T t, DataMapper<T> mapper) Deprecated.static org.apache.pekko.http.scaladsl.coding.Decoder.messagedecodeMessage(HttpMessage message) Deprecated.static org.apache.pekko.stream.scaladsl.Flow<org.apache.pekko.util.ByteString,org.apache.pekko.util.ByteString, org.apache.pekko.NotUsed> Deprecated.static org.apache.pekko.util.ByteStringencode(org.apache.pekko.util.ByteString input) Deprecated.static scala.concurrent.Future<org.apache.pekko.util.ByteString>encodeAsync(org.apache.pekko.util.ByteString input, org.apache.pekko.stream.Materializer mat) Deprecated.static <T> TencodeData(T t, DataMapper<T> mapper) Deprecated.static org.apache.pekko.http.scaladsl.coding.Encoder.messageencodeMessage(HttpMessage message) Deprecated.static org.apache.pekko.stream.scaladsl.Flow<org.apache.pekko.util.ByteString,org.apache.pekko.util.ByteString, org.apache.pekko.NotUsed> Deprecated.encoding()Deprecated.static intDeprecated.scala.Function1<HttpMessage,Object> Deprecated.Deprecated.scala.Function0<GzipDecompressor>newDecompressorStage(int maxBytesPerChunk) Deprecated.withLevel(int level) Deprecated.Use Coders.Gzip(compressionLevel = ...) instead.static DecoderwithMaxBytesPerChunk(int newMaxBytesPerChunk) Deprecated.Methods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.pekko.http.scaladsl.coding.Decoderdecode, decodeData, decodeMessageMethods inherited from interface org.apache.pekko.http.scaladsl.coding.Encoderencode, encodeAsync, encodeData, encodeMessage, encoderFlow, singleUseEncoderFlowMethods inherited from interface org.apache.pekko.http.scaladsl.coding.StreamDecoderdecoderFlow, maxBytesPerChunk, withMaxBytesPerChunk
- 
Constructor Details- 
GzipDeprecated.
- 
GzipDeprecated.
 
- 
- 
Method Details- 
applyDeprecated.
- 
encodeMessagepublic static org.apache.pekko.http.scaladsl.coding.Encoder.message encodeMessage(HttpMessage message) Deprecated.
- 
encodeDataDeprecated.
- 
encoderFlowpublic static org.apache.pekko.stream.scaladsl.Flow<org.apache.pekko.util.ByteString,org.apache.pekko.util.ByteString, encoderFlow()org.apache.pekko.NotUsed> Deprecated.
- 
encodepublic static org.apache.pekko.util.ByteString encode(org.apache.pekko.util.ByteString input) Deprecated.
- 
encodeAsyncpublic static scala.concurrent.Future<org.apache.pekko.util.ByteString> encodeAsync(org.apache.pekko.util.ByteString input, org.apache.pekko.stream.Materializer mat) Deprecated.
- 
decodeMessagepublic static org.apache.pekko.http.scaladsl.coding.Decoder.message decodeMessage(HttpMessage message) Deprecated.
- 
decodeDataDeprecated.
- 
decodepublic static scala.concurrent.Future<org.apache.pekko.util.ByteString> decode(org.apache.pekko.util.ByteString input, org.apache.pekko.stream.Materializer mat) Deprecated.
- 
maxBytesPerChunkpublic static int maxBytesPerChunk()Deprecated.
- 
withMaxBytesPerChunkDeprecated.
- 
decoderFlowpublic static org.apache.pekko.stream.scaladsl.Flow<org.apache.pekko.util.ByteString,org.apache.pekko.util.ByteString, decoderFlow()org.apache.pekko.NotUsed> Deprecated.
- 
messageFilterDeprecated.- Specified by:
- messageFilterin interface- Encoder
 
- 
encodingDeprecated.
- 
newCompressorDeprecated.- Specified by:
- newCompressorin interface- Encoder
 
- 
newDecompressorStageDeprecated.- Specified by:
- newDecompressorStagein interface- StreamDecoder
 
- 
withLevelDeprecated.Use Coders.Gzip(compressionLevel = ...) instead. Since Akka HTTP 10.2.0.
 
-