| Modifier and Type | Field and Description |
|---|---|
| private final Http2ClientFilter | |
| private static final Logger |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public String[] | getProtocols(final SSLEngine sslEngine)
Implements org. Return the supported protocols. |
| public void | protocolSelected(final SSLEngine sslEngine, final String selectedProtocol)
Implements org.
Inform the implementor which of the protocols returned from |
| filter | back to summary |
|---|---|
| private final Http2ClientFilter filter | |
| LOGGER | back to summary |
|---|---|
| private static final Logger LOGGER | |
| AlpnClientNegotiatorImpl | back to summary |
|---|---|
| public AlpnClientNegotiatorImpl(final Http2ClientFilter filter) | |
| getProtocols | back to summary |
|---|---|
| public String[] getProtocols(final SSLEngine sslEngine) Implements org. Doc from org. Return the supported protocols. For HTTP/2 this should be the two literal strings "h2" and "http/1.1", without the quotes. This method is called by the underlying SSL framework.
| |
| protocolSelected | back to summary |
|---|---|
| public void protocolSelected(final SSLEngine sslEngine, final String selectedProtocol) Implements org. Doc from org.
Inform the implementor which of the protocols returned from For HTTP/2, if the argument is "h2", proceed to use the HTTP/2 protocol for the remainder of this connection. Otherwise, take the necessary action to use HTTP/1.1.
| |