public class NextProtoNegoServerConnection extends AbstractConnection implements org.eclipse.jetty.npn.NextProtoNego.ServerProvider
Connection.Listener
Constructor and Description |
---|
NextProtoNegoServerConnection(EndPoint endPoint,
SSLEngine engine,
Connector connector,
List<String> protocols,
String defaultProtocol) |
Modifier and Type | Method and Description |
---|---|
void |
onFillable()
Callback method invoked when the endpoint is ready to be read.
|
void |
onOpen()
Callback method invoked when this
Connection is opened. |
List<String> |
protocols() |
void |
protocolSelected(String protocol) |
void |
unsupported() |
addListener, close, fillInterested, getBytesIn, getBytesOut, getCreatedTimeStamp, getEndPoint, getExecutor, getInputBufferSize, getMessagesIn, getMessagesOut, onClose, onFillInterestedFailed, onReadTimeout, setInputBufferSize, toString
public void onOpen()
Connection
Callback method invoked when this Connection
is opened.
Creators of the connection implementation are responsible for calling this method.
onOpen
in interface Connection
onOpen
in class AbstractConnection
public void onFillable()
AbstractConnection
Callback method invoked when the endpoint is ready to be read.
onFillable
in class AbstractConnection
AbstractConnection.fillInterested()
public void unsupported()
unsupported
in interface org.eclipse.jetty.npn.NextProtoNego.ServerProvider
public List<String> protocols()
protocols
in interface org.eclipse.jetty.npn.NextProtoNego.ServerProvider
public void protocolSelected(String protocol)
protocolSelected
in interface org.eclipse.jetty.npn.NextProtoNego.ServerProvider
Copyright © 1995-2012 Mort Bay Consulting. All Rights Reserved.