public class NPNClientConnection extends AbstractConnection implements org.eclipse.jetty.npn.NextProtoNego.ClientProvider
AbstractConnection.FillingInterestedCallback, AbstractConnection.NestedState, AbstractConnection.State
Connection.Listener
EXECUTE_ONFILLABLE, FILL_INTERESTED, FILLING, FILLING_FILL_INTERESTED, IDLE, REFILLING
Constructor and Description |
---|
NPNClientConnection(EndPoint endPoint,
SPDYClient client,
ClientConnectionFactory connectionFactory,
SSLEngine sslEngine,
Map<String,Object> context) |
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. |
String |
selectProtocol(List<String> protocols) |
boolean |
supports() |
void |
unsupported() |
addListener, close, fillInterested, fillInterested, getBytesIn, getBytesOut, getCreatedTimeStamp, getEndPoint, getExecutor, getInputBufferSize, getMessagesIn, getMessagesOut, next, onClose, onFillInterestedFailed, onReadTimeout, setInputBufferSize, toString
public NPNClientConnection(EndPoint endPoint, SPDYClient client, ClientConnectionFactory connectionFactory, SSLEngine sslEngine, Map<String,Object> context)
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 boolean supports()
supports
in interface org.eclipse.jetty.npn.NextProtoNego.ClientProvider
public void unsupported()
unsupported
in interface org.eclipse.jetty.npn.NextProtoNego.ClientProvider
Copyright © 1995-2014 Mort Bay Consulting. All Rights Reserved.