Package akka.http.scaladsl.coding
Interface Decoder
- All Known Subinterfaces:
Coder
,StreamDecoder
public interface Decoder
-
Method Summary
Modifier and TypeMethodDescriptionscala.concurrent.Future<akka.util.ByteString>
decode
(akka.util.ByteString input, akka.stream.Materializer mat) <T> T
decodeData
(T t, DataMapper<T> mapper) akka.http.scaladsl.coding.Decoder.message
decodeMessage
(HttpMessage message) akka.stream.scaladsl.Flow<akka.util.ByteString,
akka.util.ByteString, akka.NotUsed> encoding()
int
withMaxBytesPerChunk
(int maxBytesPerChunk)
-
Method Details
-
encoding
HttpEncoding encoding() -
decodeMessage
-
decodeData
-
maxBytesPerChunk
int maxBytesPerChunk() -
withMaxBytesPerChunk
-
decoderFlow
akka.stream.scaladsl.Flow<akka.util.ByteString,akka.util.ByteString, decoderFlow()akka.NotUsed> -
decode
scala.concurrent.Future<akka.util.ByteString> decode(akka.util.ByteString input, akka.stream.Materializer mat)
-