Top Fields Constructors Methods
org.glassfish.grizzly.http2

pack-priv final Class AlpnServerNegotiatorImpl

extends AlpnNegotiatorBase
implements AlpnServerNegotiator
Class Inheritance
All Implemented Interfaces
org.glassfish.grizzly.npn.AlpnServerNegotiator, java.util.function.BiFunction
Imports
java.util.Arrays, java.util.logging.Level, .Logger, javax.net.ssl.SSLEngine, org.glassfish.grizzly.Connection, .Grizzly, org.glassfish.grizzly.npn.AlpnServerNegotiator

Field Summary

Modifier and TypeField and Description
private final Http2BaseFilter
private static final Logger
Inherited from org.glassfish.grizzly.http2.AlpnNegotiatorBase:
HTTP11HTTP2SUPPORTED_PROTOCOLS

Constructor Summary

AccessConstructor and Description
public
AlpnServerNegotiatorImpl(final Http2ServerFilter http2HandlerFilter)

Method Summary

Modifier and TypeMethod and Description
private void
configureHttp2(final Connection<?> connection, final String supportedProtocol)

public String
selectProtocol(SSLEngine sslEngine, String[] clientProtocols)

Implements org.glassfish.grizzly.npn.AlpnServerNegotiator.selectProtocol.

Take the necessary actions to declare support for the above protocols and return the selected protocol.

Field Detail

filterback to summary
private final Http2BaseFilter filter
LOGGERback to summary
private static final Logger LOGGER

Constructor Detail

AlpnServerNegotiatorImplback to summary
public AlpnServerNegotiatorImpl(final Http2ServerFilter http2HandlerFilter)

Method Detail

configureHttp2back to summary
private void configureHttp2(final Connection<?> connection, final String supportedProtocol)
selectProtocolback to summary
public String selectProtocol(SSLEngine sslEngine, String[] clientProtocols)

Implements org.glassfish.grizzly.npn.AlpnServerNegotiator.selectProtocol.

Doc from org.glassfish.grizzly.npn.AlpnServerNegotiator.selectProtocol.

Take the necessary actions to declare support for the above protocols and return the selected protocol.

Annotations
@Override