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.
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionstatic voidapplySessionParameters(SSLEngine engine, org.apache.pekko.stream.TLSProtocol.NegotiateNewSession sessionParameters) static voidclientSetApplicationProtocols(SSLEngine engine, String[] protocols) static SSLEnginejdkAlpnSupport(SSLEngine engine, scala.Function1<String, scala.runtime.BoxedUnit> setChosenProtocol) 
- 
Constructor Details- 
Http2JDKAlpnSupportpublic Http2JDKAlpnSupport()
 
- 
- 
Method Details- 
jdkAlpnSupport
- 
applySessionParameterspublic static void applySessionParameters(SSLEngine engine, org.apache.pekko.stream.TLSProtocol.NegotiateNewSession sessionParameters) 
- 
clientSetApplicationProtocols
 
-