java.io.Closeable, java.lang.AutoCloseable, org.eclipse.jetty.alpn.ALPN.ClientProvider, org.eclipse.jetty.alpn.ALPN.Provider, Connectionpublic class ALPNClientConnection extends NegotiatingClientConnection implements org.eclipse.jetty.alpn.ALPN.ClientProvider
Connection.Listener, Connection.UpgradeFrom, Connection.UpgradeTo| Constructor | Description |
|---|---|
ALPNClientConnection(EndPoint endPoint,
java.util.concurrent.Executor executor,
ClientConnectionFactory connectionFactory,
javax.net.ssl.SSLEngine sslEngine,
java.util.Map<java.lang.String,java.lang.Object> context,
java.util.List<java.lang.String> protocols) |
| Modifier and Type | Method | Description |
|---|---|---|
void |
close() |
|
java.util.List<java.lang.String> |
protocols() |
|
void |
selected(java.lang.String protocol) |
|
void |
unsupported() |
addListener, failedCallback, fillInterested, getBytesIn, getBytesOut, getCreatedTimeStamp, getEndPoint, getExecutor, getInputBufferSize, getMessagesIn, getMessagesOut, isFillInterested, onClose, onFillInterestedFailed, onIdleExpired, onReadTimeout, removeListener, setInputBufferSize, toConnectionString, toString, tryFillInterested, tryFillInterestedcompleted, getSSLEngine, onFillable, onOpenpublic ALPNClientConnection(EndPoint endPoint, java.util.concurrent.Executor executor, ClientConnectionFactory connectionFactory, javax.net.ssl.SSLEngine sslEngine, java.util.Map<java.lang.String,java.lang.Object> context, java.util.List<java.lang.String> protocols)
public void unsupported()
unsupported in interface org.eclipse.jetty.alpn.ALPN.ClientProviderpublic java.util.List<java.lang.String> protocols()
protocols in interface org.eclipse.jetty.alpn.ALPN.ClientProviderpublic void selected(java.lang.String protocol)
selected in interface org.eclipse.jetty.alpn.ALPN.ClientProviderpublic void close()
close in interface java.lang.AutoCloseableclose in interface java.io.Closeableclose in interface Connectionclose in class NegotiatingClientConnectionCopyright © 1995–2017 Webtide. All rights reserved.