Interface StreamDecoder

All Superinterfaces:
Decoder
All Known Implementing Classes:
Deflate, Deflate$, Gzip, Gzip$, NoCoding$

public interface StreamDecoder extends 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 Type
    Method
    Description
    org.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,org.apache.pekko.NotUsed> decoderFlow()
      Deprecated.
      Specified by:
      decoderFlow in interface Decoder
    • maxBytesPerChunk

      int maxBytesPerChunk()
      Deprecated.
      Specified by:
      maxBytesPerChunk in interface Decoder
    • 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

      Decoder withMaxBytesPerChunk(int newMaxBytesPerChunk)
      Deprecated.
      Specified by:
      withMaxBytesPerChunk in interface Decoder