Package akka.http.impl.engine.http2
Class ProtocolSwitch
java.lang.Object
akka.http.impl.engine.http2.ProtocolSwitch
INTERNAL API
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic akka.stream.scaladsl.Flow<akka.stream.TLSProtocol.SslTlsInbound,
akka.stream.TLSProtocol.SslTlsOutbound, scala.concurrent.Future<ServerTerminator>> apply
(scala.Function1<akka.stream.TLSProtocol.SessionBytes, String> chosenProtocolAccessor, akka.stream.scaladsl.Flow<akka.stream.TLSProtocol.SslTlsInbound, akka.stream.TLSProtocol.SslTlsOutbound, ServerTerminator> http1Stack, akka.stream.scaladsl.Flow<akka.stream.TLSProtocol.SslTlsInbound, akka.stream.TLSProtocol.SslTlsOutbound, ServerTerminator> http2Stack) static akka.stream.scaladsl.Flow<akka.stream.TLSProtocol.SslTlsInbound,
akka.stream.TLSProtocol.SslTlsOutbound, scala.concurrent.Future<ServerTerminator>> byPreface
(akka.stream.scaladsl.Flow<akka.stream.TLSProtocol.SslTlsInbound, akka.stream.TLSProtocol.SslTlsOutbound, ServerTerminator> http1Stack, akka.stream.scaladsl.Flow<akka.stream.TLSProtocol.SslTlsInbound, akka.stream.TLSProtocol.SslTlsOutbound, ServerTerminator> http2Stack)
-
Constructor Details
-
ProtocolSwitch
public ProtocolSwitch()
-
-
Method Details
-
apply
public static akka.stream.scaladsl.Flow<akka.stream.TLSProtocol.SslTlsInbound,akka.stream.TLSProtocol.SslTlsOutbound, applyscala.concurrent.Future<ServerTerminator>> (scala.Function1<akka.stream.TLSProtocol.SessionBytes, String> chosenProtocolAccessor, akka.stream.scaladsl.Flow<akka.stream.TLSProtocol.SslTlsInbound, akka.stream.TLSProtocol.SslTlsOutbound, ServerTerminator> http1Stack, akka.stream.scaladsl.Flow<akka.stream.TLSProtocol.SslTlsInbound, akka.stream.TLSProtocol.SslTlsOutbound, ServerTerminator> http2Stack) -
byPreface
public static akka.stream.scaladsl.Flow<akka.stream.TLSProtocol.SslTlsInbound,akka.stream.TLSProtocol.SslTlsOutbound, byPrefacescala.concurrent.Future<ServerTerminator>> (akka.stream.scaladsl.Flow<akka.stream.TLSProtocol.SslTlsInbound, akka.stream.TLSProtocol.SslTlsOutbound, ServerTerminator> http1Stack, akka.stream.scaladsl.Flow<akka.stream.TLSProtocol.SslTlsInbound, akka.stream.TLSProtocol.SslTlsOutbound, ServerTerminator> http2Stack)
-