Class Http2JDKAlpnSupport$

java.lang.Object
org.apache.pekko.http.impl.engine.http2.Http2JDKAlpnSupport$

public class Http2JDKAlpnSupport$ extends Object
INTERNAL API

The actual implementation of ALPN support on supported JDKs. We rely on lazy class loading to not fail with class loading errors when ALPN support is missing.

  • Field Details

    • MODULE$

      public static final Http2JDKAlpnSupport$ MODULE$
      Static reference to the singleton instance of this Scala object.
  • Constructor Details

    • Http2JDKAlpnSupport$

      public Http2JDKAlpnSupport$()
  • Method Details

    • jdkAlpnSupport

      public SSLEngine jdkAlpnSupport(SSLEngine engine, scala.Function1<String,scala.runtime.BoxedUnit> setChosenProtocol)
    • applySessionParameters

      public void applySessionParameters(SSLEngine engine, org.apache.pekko.stream.TLSProtocol.NegotiateNewSession sessionParameters)
    • clientSetApplicationProtocols

      public void clientSetApplicationProtocols(SSLEngine engine, String[] protocols)