Package org.glassfish.grizzly.npn
Interface ServerSideNegotiator
public interface ServerSideNegotiator
Provides a set of callbacks that will be invoked when negotiation
NPN on the server side.
-
Method Summary
Modifier and TypeMethodDescriptionvoidInvoked when the client selects none of the supported protocols.voidInvoked when the client selects one of the supported protocols.supportedProtocols(SSLEngine engine)
-
Method Details
-
supportedProtocols
- Returns:
- a
LinkedHashSetof protocols that will be advertised to the client.
-
onSuccess
Invoked when the client selects one of the supported protocols. -
onNoDeal
Invoked when the client selects none of the supported protocols.
-