Class ProtocolSwitch


  • public class ProtocolSwitch
    extends java.lang.Object
    INTERNAL API
    • Constructor Summary

      Constructors 
      Constructor Description
      ProtocolSwitch()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static akka.stream.scaladsl.Flow<akka.stream.TLSProtocol.SslTlsInbound,​akka.stream.TLSProtocol.SslTlsOutbound,​scala.concurrent.Future<ServerTerminator>> apply​(scala.Function1<akka.stream.TLSProtocol.SessionBytes,​java.lang.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)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ProtocolSwitch

        public ProtocolSwitch()
    • Method Detail

      • apply

        public static akka.stream.scaladsl.Flow<akka.stream.TLSProtocol.SslTlsInbound,​akka.stream.TLSProtocol.SslTlsOutbound,​scala.concurrent.Future<ServerTerminator>> apply​(scala.Function1<akka.stream.TLSProtocol.SessionBytes,​java.lang.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,​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)