Package org.apache.pekko.stream.javadsl
Class TLSPlacebo
- java.lang.Object
-
- org.apache.pekko.stream.javadsl.TLSPlacebo
-
public class TLSPlacebo extends java.lang.Object
This object holds simple wrappingpekko.stream.scaladsl.BidiFlow
implementations that can be used instead ofTLS
when no encryption is desired. The flows will just adapt the message protocol by wrapping intoSessionBytes
and unwrappingSendBytes
.
-
-
Constructor Summary
Constructors Constructor Description TLSPlacebo()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static BidiFlow<TLSProtocol.SslTlsOutbound,ByteString,ByteString,TLSProtocol.SessionBytes,NotUsed>
getInstance()
Returns a reusableBidiFlow
instance representing aTLSPlacebo$
.
-
-
-
Method Detail
-
getInstance
public static BidiFlow<TLSProtocol.SslTlsOutbound,ByteString,ByteString,TLSProtocol.SessionBytes,NotUsed> getInstance()
Returns a reusableBidiFlow
instance representing aTLSPlacebo$
.
-
-