Class OpenJDK8ClientALPNProcessor.ALPNConnectionListener
- java.lang.Object
-
- org.eclipse.jetty.alpn.openjdk8.client.OpenJDK8ClientALPNProcessor.ALPNConnectionListener
-
- All Implemented Interfaces:
org.eclipse.jetty.alpn.ALPN.ClientProvider
,org.eclipse.jetty.alpn.ALPN.Provider
,org.eclipse.jetty.io.Connection.Listener
- Enclosing class:
- OpenJDK8ClientALPNProcessor
private static final class OpenJDK8ClientALPNProcessor.ALPNConnectionListener extends java.lang.Object implements org.eclipse.jetty.alpn.ALPN.ClientProvider, org.eclipse.jetty.io.Connection.Listener
-
-
Field Summary
Fields Modifier and Type Field Description private ALPNClientConnection
alpnConnection
-
Constructor Summary
Constructors Modifier Constructor Description private
ALPNConnectionListener(ALPNClientConnection connection)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
onClosed(org.eclipse.jetty.io.Connection connection)
void
onOpened(org.eclipse.jetty.io.Connection connection)
java.util.List<java.lang.String>
protocols()
void
selected(java.lang.String protocol)
void
unsupported()
-
-
-
Field Detail
-
alpnConnection
private final ALPNClientConnection alpnConnection
-
-
Constructor Detail
-
ALPNConnectionListener
private ALPNConnectionListener(ALPNClientConnection connection)
-
-
Method Detail
-
onOpened
public void onOpened(org.eclipse.jetty.io.Connection connection)
- Specified by:
onOpened
in interfaceorg.eclipse.jetty.io.Connection.Listener
-
onClosed
public void onClosed(org.eclipse.jetty.io.Connection connection)
- Specified by:
onClosed
in interfaceorg.eclipse.jetty.io.Connection.Listener
-
protocols
public java.util.List<java.lang.String> protocols()
- Specified by:
protocols
in interfaceorg.eclipse.jetty.alpn.ALPN.ClientProvider
-
unsupported
public void unsupported()
- Specified by:
unsupported
in interfaceorg.eclipse.jetty.alpn.ALPN.ClientProvider
-
selected
public void selected(java.lang.String protocol)
- Specified by:
selected
in interfaceorg.eclipse.jetty.alpn.ALPN.ClientProvider
-
-