private final class OpenJDK8ClientALPNProcessor.ALPNListener extends java.lang.Object implements org.eclipse.jetty.alpn.ALPN.ClientProvider, Connection.Listener
Connection.Listener.Adapter
Modifier and Type | Field and Description |
---|---|
private ALPNClientConnection |
alpnConnection |
Modifier | Constructor and Description |
---|---|
private |
ALPNListener(ALPNClientConnection connection) |
Modifier and Type | Method and Description |
---|---|
void |
onClosed(Connection connection) |
void |
onOpened(Connection connection) |
java.util.List<java.lang.String> |
protocols() |
void |
selected(java.lang.String protocol) |
void |
unsupported() |
private final ALPNClientConnection alpnConnection
private ALPNListener(ALPNClientConnection connection)
public void onOpened(Connection connection)
onOpened
in interface Connection.Listener
public void onClosed(Connection connection)
onClosed
in interface Connection.Listener
public java.util.List<java.lang.String> protocols()
protocols
in interface org.eclipse.jetty.alpn.ALPN.ClientProvider
public void unsupported()
unsupported
in interface org.eclipse.jetty.alpn.ALPN.ClientProvider
public void selected(java.lang.String protocol)
selected
in interface org.eclipse.jetty.alpn.ALPN.ClientProvider