public class Http2AlpnSupport$
extends java.lang.Object
Will add support to an engine either using jetty alpn or using netty APIs (later).
Modifier and Type | Field and Description |
---|---|
static Http2AlpnSupport$ |
MODULE$
Static reference to the singleton instance of this Scala object.
|
Constructor and Description |
---|
Http2AlpnSupport$() |
Modifier and Type | Method and Description |
---|---|
void |
applySessionParameters(javax.net.ssl.SSLEngine engine,
akka.stream.TLSProtocol.NegotiateNewSession sessionParameters) |
javax.net.ssl.SSLParameters |
cloneParameters(javax.net.ssl.SSLParameters old) |
javax.net.ssl.SSLEngine |
enableForServer(javax.net.ssl.SSLEngine engine,
scala.Function1<java.lang.String,scala.runtime.BoxedUnit> setChosenProtocol)
Enables server-side Http/2 ALPN support for the given engine.
|
public static final Http2AlpnSupport$ MODULE$
public javax.net.ssl.SSLEngine enableForServer(javax.net.ssl.SSLEngine engine, scala.Function1<java.lang.String,scala.runtime.BoxedUnit> setChosenProtocol)
engine
- (undocumented)setChosenProtocol
- (undocumented)public void applySessionParameters(javax.net.ssl.SSLEngine engine, akka.stream.TLSProtocol.NegotiateNewSession sessionParameters)
public javax.net.ssl.SSLParameters cloneParameters(javax.net.ssl.SSLParameters old)