Package akka.http.impl.engine.http2
Class Http2JDKAlpnSupport$
- java.lang.Object
-
- akka.http.impl.engine.http2.Http2JDKAlpnSupport$
-
public class Http2JDKAlpnSupport$ extends java.lang.Object
INTERNAL APIThe 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
Fields Modifier and Type Field Description static Http2JDKAlpnSupport$
MODULE$
Static reference to the singleton instance of this Scala object.
-
Constructor Summary
Constructors Constructor Description Http2JDKAlpnSupport$()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
applySessionParameters(javax.net.ssl.SSLEngine engine, akka.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)
-
-
-
Field Detail
-
MODULE$
public static final Http2JDKAlpnSupport$ MODULE$
Static reference to the singleton instance of this Scala object.
-
-
Method Detail
-
jdkAlpnSupport
public javax.net.ssl.SSLEngine jdkAlpnSupport(javax.net.ssl.SSLEngine engine, scala.Function1<java.lang.String,scala.runtime.BoxedUnit> setChosenProtocol)
-
applySessionParameters
public void applySessionParameters(javax.net.ssl.SSLEngine engine, akka.stream.TLSProtocol.NegotiateNewSession sessionParameters)
-
clientSetApplicationProtocols
public void clientSetApplicationProtocols(javax.net.ssl.SSLEngine engine, java.lang.String[] protocols)
-
-