public class NPNServerConnection extends NegotiatingServerConnection implements org.eclipse.jetty.npn.NextProtoNego.ServerProvider
AbstractConnection.FillingInterestedCallback, AbstractConnection.NestedState, AbstractConnection.StateConnection.ListenerEXECUTE_ONFILLABLE, FILL_INTERESTED, FILLING, FILLING_FILL_INTERESTED, IDLE, REFILLING| Constructor and Description |
|---|
NPNServerConnection(EndPoint endPoint,
SSLEngine engine,
Connector connector,
List<String> protocols,
String defaultProtocol) |
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Performs a logical close of this connection.
|
List<String> |
protocols() |
void |
protocolSelected(String protocol) |
void |
unsupported() |
getDefaultProtocol, getProtocol, getProtocols, getSSLEngine, onFillable, onOpen, setProtocoladdListener, failedCallback, fillInterested, fillInterested, getBytesIn, getBytesOut, getCreatedTimeStamp, getEndPoint, getExecutor, getInputBufferSize, getMessagesIn, getMessagesOut, next, onClose, onFillInterestedFailed, onReadTimeout, setInputBufferSize, toStringpublic void unsupported()
unsupported in interface org.eclipse.jetty.npn.NextProtoNego.ServerProviderpublic List<String> protocols()
protocols in interface org.eclipse.jetty.npn.NextProtoNego.ServerProviderpublic void protocolSelected(String protocol)
protocolSelected in interface org.eclipse.jetty.npn.NextProtoNego.ServerProviderpublic 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 NegotiatingServerConnectionCopyright © 1995-2015 Webtide. All Rights Reserved.