ApplicationProtocolSelector API.
| Modifier and Type | Field and Description |
|---|---|
| private final SSLEngine | |
| private static final int | |
| private final ApplicationProtocolSelector | |
| private final SSLSocket |
| Access | Constructor and Description |
|---|---|
| pack-priv | |
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| pack-priv int | Returns: If successful, returns the offset into thelenghPrefixedList array of the
selected protocol (i.e. points to the length prefix). Otherwise, returns
NO_PROTOCOL_SELECTED.the peer protocols in length-delimited form. encodedProtocols)Performs the ALPN protocol selection from the given list of length-delimited peer protocols. |
| engine | back to summary |
|---|---|
| private final SSLEngine engine | |
| NO_PROTOCOL_SELECTED | back to summary |
|---|---|
| private static final int NO_PROTOCOL_SELECTED | |
| selector | back to summary |
|---|---|
| private final ApplicationProtocolSelector selector | |
| socket | back to summary |
|---|---|
| private final SSLSocket socket | |
| ApplicationProtocolSelectorAdapter | back to summary |
|---|---|
| pack-priv ApplicationProtocolSelectorAdapter(SSLEngine engine, ApplicationProtocolSelector selector) | |
| ApplicationProtocolSelectorAdapter | back to summary |
|---|---|
| pack-priv ApplicationProtocolSelectorAdapter(SSLSocket socket, ApplicationProtocolSelector selector) | |
| selectApplicationProtocol | back to summary |
|---|---|
| pack-priv int selectApplicationProtocol(byte[] encodedProtocols) Performs the ALPN protocol selection from the given list of length-delimited peer protocols.
| |