public class ALPNClientConnection extends NegotiatingClientConnection implements org.eclipse.jetty.alpn.ALPN.ClientProvider
Connection.Listener, Connection.UpgradeFrom, Connection.UpgradeTo| Constructor and Description |
|---|
ALPNClientConnection(EndPoint endPoint,
Executor executor,
ClientConnectionFactory connectionFactory,
SSLEngine sslEngine,
Map<String,Object> context,
List<String> protocols) |
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Performs a logical close of this connection.
|
List<String> |
protocols() |
void |
selected(String protocol) |
void |
unsupported() |
completed, getSSLEngine, onFillable, onOpenaddListener, failedCallback, fillInterested, getBytesIn, getBytesOut, getCreatedTimeStamp, getEndPoint, getExecutor, getInputBufferSize, getMessagesIn, getMessagesOut, isFillInterested, onClose, onFillInterestedFailed, onIdleExpired, onReadTimeout, removeListener, setInputBufferSize, toConnectionString, toString, tryFillInterested, tryFillInterestedpublic void unsupported()
unsupported in interface org.eclipse.jetty.alpn.ALPN.ClientProviderpublic List<String> protocols()
protocols in interface org.eclipse.jetty.alpn.ALPN.ClientProviderpublic void selected(String protocol)
selected in interface org.eclipse.jetty.alpn.ALPN.ClientProviderpublic void close()
ConnectionPerforms a logical close of this connection.
For simple connections, this may just mean to delegate the close to the associated
EndPoint but, for example, SSL connections should write the SSL close message
before closing the associated EndPoint.
close in interface Closeableclose in interface AutoCloseableclose in interface Connectionclose in class NegotiatingClientConnectionCopyright © 1995–2017 Webtide. All rights reserved.