Class Http2JDKAlpnSupport$
java.lang.Object
org.apache.pekko.http.impl.engine.http2.Http2JDKAlpnSupport$
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 Summary
FieldsModifier and TypeFieldDescriptionstatic final Http2JDKAlpnSupport$
Static reference to the singleton instance of this Scala object. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
applySessionParameters
(SSLEngine engine, org.apache.pekko.stream.TLSProtocol.NegotiateNewSession sessionParameters) void
clientSetApplicationProtocols
(SSLEngine engine, String[] protocols) jdkAlpnSupport
(SSLEngine engine, scala.Function1<String, scala.runtime.BoxedUnit> setChosenProtocol)
-
Field Details
-
MODULE$
Static reference to the singleton instance of this Scala object.
-
-
Constructor Details
-
Http2JDKAlpnSupport$
public Http2JDKAlpnSupport$()
-
-
Method Details
-
jdkAlpnSupport
-
applySessionParameters
public void applySessionParameters(SSLEngine engine, org.apache.pekko.stream.TLSProtocol.NegotiateNewSession sessionParameters) -
clientSetApplicationProtocols
-