Interface Encoder
- All Known Subinterfaces:
- Coder
public interface Encoder
- 
Method SummaryModifier and TypeMethodDescriptionorg.apache.pekko.util.ByteStringencode(org.apache.pekko.util.ByteString input) Deprecated.synchronous compression with `encode` is not supported in the future any more, use `encodeAsync` instead.scala.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- 
encodingHttpEncoding encoding()
- 
messageFilterscala.Function1<HttpMessage,Object> messageFilter()
- 
encodeMessage
- 
encodeData
- 
encoderFloworg.apache.pekko.stream.scaladsl.Flow<org.apache.pekko.util.ByteString,org.apache.pekko.util.ByteString, encoderFlow()org.apache.pekko.NotUsed> 
- 
encodeorg.apache.pekko.util.ByteString encode(org.apache.pekko.util.ByteString input) Deprecated.synchronous compression with `encode` is not supported in the future any more, use `encodeAsync` instead. Since Akka HTTP 10.2.0.
- 
encodeAsyncscala.concurrent.Future<org.apache.pekko.util.ByteString> encodeAsync(org.apache.pekko.util.ByteString input, org.apache.pekko.stream.Materializer mat) 
- 
newCompressorCompressor newCompressor()
- 
singleUseEncoderFloworg.apache.pekko.stream.stage.GraphStage<org.apache.pekko.stream.FlowShape<org.apache.pekko.util.ByteString,org.apache.pekko.util.ByteString>> singleUseEncoderFlow()
 
-