Interface StreamDecoder
- All Superinterfaces:
Decoder
Deprecated.
StreamDecoder is internal API and will be moved or removed in the future. Since Akka HTTP 10.2.0.
Internal API
A decoder that is implemented in terms of a Stage
-
Method Summary
Modifier and TypeMethodDescriptionorg.apache.pekko.stream.scaladsl.Flow<org.apache.pekko.util.ByteString,
org.apache.pekko.util.ByteString, org.apache.pekko.NotUsed> Deprecated.int
Deprecated.scala.Function0<org.apache.pekko.stream.stage.GraphStage<org.apache.pekko.stream.FlowShape<org.apache.pekko.util.ByteString,
org.apache.pekko.util.ByteString>>> newDecompressorStage
(int maxBytesPerChunk) Deprecated.withMaxBytesPerChunk
(int newMaxBytesPerChunk) Deprecated.Methods inherited from interface org.apache.pekko.http.scaladsl.coding.Decoder
decode, decodeData, decodeMessage, encoding
-
Method Details
-
decoderFlow
org.apache.pekko.stream.scaladsl.Flow<org.apache.pekko.util.ByteString,org.apache.pekko.util.ByteString, decoderFlow()org.apache.pekko.NotUsed> Deprecated.- Specified by:
decoderFlow
in interfaceDecoder
-
maxBytesPerChunk
int maxBytesPerChunk()Deprecated.- Specified by:
maxBytesPerChunk
in interfaceDecoder
-
newDecompressorStage
scala.Function0<org.apache.pekko.stream.stage.GraphStage<org.apache.pekko.stream.FlowShape<org.apache.pekko.util.ByteString,org.apache.pekko.util.ByteString>>> newDecompressorStage(int maxBytesPerChunk) Deprecated. -
withMaxBytesPerChunk
Deprecated.- Specified by:
withMaxBytesPerChunk
in interfaceDecoder
-