Class ProtocolSwitch
java.lang.Object
org.apache.pekko.http.impl.engine.http2.ProtocolSwitch
INTERNAL API
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionstatic org.apache.pekko.stream.scaladsl.Flow<org.apache.pekko.stream.TLSProtocol.SslTlsInbound,org.apache.pekko.stream.TLSProtocol.SslTlsOutbound, scala.concurrent.Future<ServerTerminator>> apply(scala.Function1<org.apache.pekko.stream.TLSProtocol.SessionBytes, String> chosenProtocolAccessor, org.apache.pekko.stream.scaladsl.Flow<org.apache.pekko.stream.TLSProtocol.SslTlsInbound, org.apache.pekko.stream.TLSProtocol.SslTlsOutbound, ServerTerminator> http1Stack, org.apache.pekko.stream.scaladsl.Flow<org.apache.pekko.stream.TLSProtocol.SslTlsInbound, org.apache.pekko.stream.TLSProtocol.SslTlsOutbound, ServerTerminator> http2Stack) static org.apache.pekko.stream.scaladsl.Flow<org.apache.pekko.stream.TLSProtocol.SslTlsInbound,org.apache.pekko.stream.TLSProtocol.SslTlsOutbound, scala.concurrent.Future<ServerTerminator>> byPreface(org.apache.pekko.stream.scaladsl.Flow<org.apache.pekko.stream.TLSProtocol.SslTlsInbound, org.apache.pekko.stream.TLSProtocol.SslTlsOutbound, ServerTerminator> http1Stack, org.apache.pekko.stream.scaladsl.Flow<org.apache.pekko.stream.TLSProtocol.SslTlsInbound, org.apache.pekko.stream.TLSProtocol.SslTlsOutbound, ServerTerminator> http2Stack) 
- 
Constructor Details- 
ProtocolSwitchpublic ProtocolSwitch()
 
- 
- 
Method Details- 
applypublic static org.apache.pekko.stream.scaladsl.Flow<org.apache.pekko.stream.TLSProtocol.SslTlsInbound,org.apache.pekko.stream.TLSProtocol.SslTlsOutbound, applyscala.concurrent.Future<ServerTerminator>> (scala.Function1<org.apache.pekko.stream.TLSProtocol.SessionBytes, String> chosenProtocolAccessor, org.apache.pekko.stream.scaladsl.Flow<org.apache.pekko.stream.TLSProtocol.SslTlsInbound, org.apache.pekko.stream.TLSProtocol.SslTlsOutbound, ServerTerminator> http1Stack, org.apache.pekko.stream.scaladsl.Flow<org.apache.pekko.stream.TLSProtocol.SslTlsInbound, org.apache.pekko.stream.TLSProtocol.SslTlsOutbound, ServerTerminator> http2Stack) 
- 
byPrefacepublic static org.apache.pekko.stream.scaladsl.Flow<org.apache.pekko.stream.TLSProtocol.SslTlsInbound,org.apache.pekko.stream.TLSProtocol.SslTlsOutbound, byPrefacescala.concurrent.Future<ServerTerminator>> (org.apache.pekko.stream.scaladsl.Flow<org.apache.pekko.stream.TLSProtocol.SslTlsInbound, org.apache.pekko.stream.TLSProtocol.SslTlsOutbound, ServerTerminator> http1Stack, org.apache.pekko.stream.scaladsl.Flow<org.apache.pekko.stream.TLSProtocol.SslTlsInbound, org.apache.pekko.stream.TLSProtocol.SslTlsOutbound, ServerTerminator> http2Stack) 
 
-