public static interface NextProtoNego.ServerProvider extends NextProtoNego.Provider
The server-side provider interface that applications must implement to interact with the negotiation of the next protocol.
Modifier and Type | Method and Description |
---|---|
List<String> |
protocols()
Callback invoked to let the implementation know the list
of protocols that should be added to an NPN extension in a
ServerHello SSL message.
|
void |
protocolSelected(String protocol)
Callback invoked to let the application know the protocol selected
by the client.
|
void |
unsupported()
Callback invoked to let the application know that the client does not
support NPN.
|
void unsupported()
Callback invoked to let the application know that the client does not support NPN.
List<String> protocols()
Callback invoked to let the implementation know the list of protocols that should be added to an NPN extension in a ServerHello SSL message.
This callback is invoked only if the client sent a NPN extension.
void protocolSelected(String protocol)
Callback invoked to let the application know the protocol selected by the client.
This callback is invoked only if the client sent a NextProtocol SSL message.
protocol
- the selected protocolCopyright © 1995-2012 Mort Bay Consulting. All Rights Reserved.