Class AbstractConnection.NonBlocking
java.lang.Object
org.eclipse.jetty.io.AbstractConnection
org.eclipse.jetty.io.AbstractConnection.NonBlocking
- All Implemented Interfaces:
 Closeable, AutoCloseable, Connection
- Direct Known Subclasses:
 ConnectHandler.DownstreamConnection, ConnectHandler.UpstreamConnection, InstructionStreamConnection, NegotiatingClientConnection, NegotiatingServerConnection, ProxyProtocolClientConnectionFactory.ProxyProtocolConnection, UnidirectionalStreamConnection
- Enclosing class:
 AbstractConnection
- 
Nested Class Summary
Nested classes/interfaces inherited from class AbstractConnection
AbstractConnection.NonBlockingNested classes/interfaces inherited from interface Connection
Connection.Listener, Connection.Tunnel, Connection.UpgradeFrom, Connection.UpgradeTo - 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionvoidRegisters read interest using the defaultCallbackwithInvocable.InvocationType.NON_BLOCKING.Methods inherited from class AbstractConnection
addEventListener, close, fillInterested, getBytesIn, getBytesOut, getCreatedTimeStamp, getEndPoint, getExecutor, getInputBufferSize, getMessagesIn, getMessagesOut, isFillInterested, onClose, onFillable, onFillInterestedFailed, onIdleExpired, onOpen, onReadTimeout, removeEventListener, setInputBufferSize, toConnectionString, toString, tryFillInterested 
- 
Constructor Details
- 
NonBlocking
 
 - 
 - 
Method Details
- 
fillInterested
public void fillInterested()Registers read interest using the default
CallbackwithInvocable.InvocationType.NON_BLOCKING.When read readiness is signaled,
AbstractConnection.onFillable()orAbstractConnection.onFillInterestedFailed(Throwable)will be invoked.This method should be used sparingly, and
AbstractConnection.fillInterested(Callback)should be preferred instead, passing aCallbackthat specifies theInvocable.InvocationTypefor each specific case where read interest needs to be registered.- Overrides:
 fillInterestedin classAbstractConnection- See Also:
 
 
 -