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 | clientSetApplicationProtocols(javax.net.ssl.SSLEngine engine,
                             java.lang.String[] protocols) | 
| 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. | 
| java.lang.String | H2() | 
| java.lang.String | HTTP11() | 
public static final Http2AlpnSupport$ MODULE$
public java.lang.String H2()
public java.lang.String HTTP11()
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 clientSetApplicationProtocols(javax.net.ssl.SSLEngine engine,
                                          java.lang.String[] protocols)