ALPN.Provider
public static interface ALPN.ClientProvider extends ALPN.Provider
Modifier and Type | Method | Description |
---|---|---|
java.util.List<java.lang.String> |
protocols() |
Callback invoked to let the implementation know the list
of protocols that should be added to the ALPN extension in
a ClientHello TLS message.
|
void |
selected(java.lang.String protocol) |
Callback invoked to let the client application know
the protocol chosen by the server.
|
boolean |
supports() |
Callback invoked to let the implementation know whether an
ALPN extension should be added to a ClientHello TLS message.
|
void |
unsupported() |
Callback invoked to let the client application know that
the server does not support ALPN.
|
boolean supports()
java.util.List<java.lang.String> protocols()
supports()
returned true.void unsupported()
void selected(java.lang.String protocol)
protocol
- the protocol selected by the serverCopyright © 2018. All rights reserved.