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 SummaryFieldsModifier and TypeFieldDescriptionstatic final Http2JDKAlpnSupport$Static reference to the singleton instance of this Scala object.
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionvoidapplySessionParameters(SSLEngine engine, org.apache.pekko.stream.TLSProtocol.NegotiateNewSession sessionParameters) voidclientSetApplicationProtocols(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
- 
applySessionParameterspublic void applySessionParameters(SSLEngine engine, org.apache.pekko.stream.TLSProtocol.NegotiateNewSession sessionParameters) 
- 
clientSetApplicationProtocols
 
-