public class NoCoding$ extends java.lang.Object implements Coder, StreamDecoder
Modifier and Type | Field and Description |
---|---|
static NoCoding$ |
MODULE$
Static reference to the singleton instance of this Scala object.
|
Constructor and Description |
---|
NoCoding$() |
Modifier and Type | Method and Description |
---|---|
<T extends HttpMessage> |
decode(T message,
DataMapper<T> mapper) |
<T> T |
decodeData(T t,
DataMapper<T> mapper) |
<T extends HttpMessage> |
encode(T message,
DataMapper<T> mapper) |
<T> T |
encodeData(T t,
DataMapper<T> mapper) |
HttpEncoding |
encoding() |
scala.Function1<HttpMessage,java.lang.Object> |
messageFilter() |
NoCodingCompressor$ |
newCompressor() |
scala.Function0<akka.stream.stage.GraphStage<akka.stream.FlowShape<akka.util.ByteString,akka.util.ByteString>>> |
newDecompressorStage(int maxBytesPerChunk) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
encode, encodeMessage, encoderFlow, newEncodeTransformer
decoderFlow, maxBytesPerChunk, withMaxBytesPerChunk
decode, decodeMessage
public static final NoCoding$ MODULE$
public HttpEncoding encoding()
public <T extends HttpMessage> HttpMessage encode(T message, DataMapper<T> mapper)
public <T> T encodeData(T t, DataMapper<T> mapper)
encodeData
in interface Encoder
public <T extends HttpMessage> HttpMessage decode(T message, DataMapper<T> mapper)
public <T> T decodeData(T t, DataMapper<T> mapper)
decodeData
in interface Decoder
public scala.Function1<HttpMessage,java.lang.Object> messageFilter()
messageFilter
in interface Encoder
public NoCodingCompressor$ newCompressor()
newCompressor
in interface Encoder
public scala.Function0<akka.stream.stage.GraphStage<akka.stream.FlowShape<akka.util.ByteString,akka.util.ByteString>>> newDecompressorStage(int maxBytesPerChunk)
newDecompressorStage
in interface StreamDecoder