Class ProtocolSwitch

java.lang.Object
akka.http.impl.engine.http2.ProtocolSwitch

public class ProtocolSwitch extends Object
INTERNAL API
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    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,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 Details

    • ProtocolSwitch

      public ProtocolSwitch()
  • Method Details

    • 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,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)