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 10.2.0.
Internal API

A decoder that is implemented in terms of a Stage

  • Method Summary

    Modifier and Type
    Method
    Description
    akka.stream.scaladsl.Flow<akka.util.ByteString,akka.util.ByteString,akka.NotUsed>
    Deprecated.
     
    int
    Deprecated.
     
    scala.Function0<akka.stream.stage.GraphStage<akka.stream.FlowShape<akka.util.ByteString,akka.util.ByteString>>>
    newDecompressorStage(int maxBytesPerChunk)
    Deprecated.
     
    withMaxBytesPerChunk(int newMaxBytesPerChunk)
    Deprecated.
     

    Methods inherited from interface akka.http.scaladsl.coding.Decoder

    decode, decodeData, decodeMessage, encoding
  • Method Details

    • decoderFlow

      akka.stream.scaladsl.Flow<akka.util.ByteString,akka.util.ByteString,akka.NotUsed> decoderFlow()
      Deprecated.
      Specified by:
      decoderFlow in interface Decoder
    • maxBytesPerChunk

      int maxBytesPerChunk()
      Deprecated.
      Specified by:
      maxBytesPerChunk in interface Decoder
    • newDecompressorStage

      scala.Function0<akka.stream.stage.GraphStage<akka.stream.FlowShape<akka.util.ByteString,akka.util.ByteString>>> newDecompressorStage(int maxBytesPerChunk)
      Deprecated.
    • withMaxBytesPerChunk

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