ALPN.Provider
public static interface ALPN.ServerProvider extends ALPN.Provider
Modifier and Type | Method | Description |
---|---|---|
java.lang.String |
select(java.util.List<java.lang.String> protocols) |
Callback invoked to let the server application select
a protocol among the ones sent by the client.
|
void |
unsupported() |
Callback invoked to let the server application know that
the client does not support ALPN.
|
void unsupported()
java.lang.String select(java.util.List<java.lang.String> protocols)
protocols
- the protocols sent by the clientCopyright © 2018. All rights reserved.