Interface Encoder
- All Known Subinterfaces:
Coder
public interface Encoder
-
Method Summary
Modifier and TypeMethodDescriptionscala.concurrent.Future<org.apache.pekko.util.ByteString>encodeAsync(org.apache.pekko.util.ByteString input, org.apache.pekko.stream.Materializer mat) <T> TencodeData(T t, DataMapper<T> mapper) org.apache.pekko.http.scaladsl.coding.Encoder.messageencodeMessage(HttpMessage message) org.apache.pekko.stream.scaladsl.Flow<org.apache.pekko.util.ByteString,org.apache.pekko.util.ByteString, org.apache.pekko.NotUsed> encoding()scala.Function1<HttpMessage,Object> org.apache.pekko.stream.stage.GraphStage<org.apache.pekko.stream.FlowShape<org.apache.pekko.util.ByteString,org.apache.pekko.util.ByteString>>
-
Method Details
-
encoding
HttpEncoding encoding() -
messageFilter
scala.Function1<HttpMessage,Object> messageFilter() -
encodeMessage
-
encodeData
-
encoderFlow
org.apache.pekko.stream.scaladsl.Flow<org.apache.pekko.util.ByteString,org.apache.pekko.util.ByteString, encoderFlow()org.apache.pekko.NotUsed> -
encodeAsync
scala.concurrent.Future<org.apache.pekko.util.ByteString> encodeAsync(org.apache.pekko.util.ByteString input, org.apache.pekko.stream.Materializer mat) -
newCompressor
Compressor newCompressor() -
singleUseEncoderFlow
org.apache.pekko.stream.stage.GraphStage<org.apache.pekko.stream.FlowShape<org.apache.pekko.util.ByteString,org.apache.pekko.util.ByteString>> singleUseEncoderFlow()
-