public class NPNClientConnection extends NegotiatingClientConnection implements org.eclipse.jetty.npn.NextProtoNego.ClientProvider
AbstractConnection.FillingInterestedCallback, AbstractConnection.NestedState, AbstractConnection.StateConnection.ListenerEXECUTE_ONFILLABLE, FILL_INTERESTED, FILLING, FILLING_FILL_INTERESTED, IDLE, REFILLING| Constructor and Description |
|---|
NPNClientConnection(EndPoint endPoint,
Executor executor,
ClientConnectionFactory connectionFactory,
SSLEngine sslEngine,
Map<String,Object> context,
String protocol) |
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Performs a logical close of this connection.
|
String |
selectProtocol(List<String> protocols) |
boolean |
supports() |
void |
unsupported() |
completed, getSSLEngine, onFillable, onOpenaddListener, failedCallback, fillInterested, fillInterested, getBytesIn, getBytesOut, getCreatedTimeStamp, getEndPoint, getExecutor, getInputBufferSize, getMessagesIn, getMessagesOut, next, onClose, onFillInterestedFailed, onReadTimeout, setInputBufferSize, toStringpublic boolean supports()
supports in interface org.eclipse.jetty.npn.NextProtoNego.ClientProviderpublic void unsupported()
unsupported in interface org.eclipse.jetty.npn.NextProtoNego.ClientProviderpublic String selectProtocol(List<String> protocols)
selectProtocol in interface org.eclipse.jetty.npn.NextProtoNego.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-2015 Webtide. All Rights Reserved.