public class Http2JDKAlpnSupport$
extends java.lang.Object
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.
| Modifier and Type | Field and Description | 
|---|---|
| static Http2JDKAlpnSupport$ | MODULE$Static reference to the singleton instance of this Scala object. | 
| Constructor and Description | 
|---|
| Http2JDKAlpnSupport$() | 
| Modifier and Type | Method and Description | 
|---|---|
| void | applySessionParameters(javax.net.ssl.SSLEngine engine,
                      org.apache.pekko.stream.TLSProtocol.NegotiateNewSession sessionParameters) | 
| void | clientSetApplicationProtocols(javax.net.ssl.SSLEngine engine,
                             java.lang.String[] protocols) | 
| javax.net.ssl.SSLEngine | jdkAlpnSupport(javax.net.ssl.SSLEngine engine,
              scala.Function1<java.lang.String,scala.runtime.BoxedUnit> setChosenProtocol) | 
public static final Http2JDKAlpnSupport$ MODULE$
public javax.net.ssl.SSLEngine jdkAlpnSupport(javax.net.ssl.SSLEngine engine,
                                              scala.Function1<java.lang.String,scala.runtime.BoxedUnit> setChosenProtocol)
public void applySessionParameters(javax.net.ssl.SSLEngine engine,
                                   org.apache.pekko.stream.TLSProtocol.NegotiateNewSession sessionParameters)
public void clientSetApplicationProtocols(javax.net.ssl.SSLEngine engine,
                                          java.lang.String[] protocols)