Class AbstractConnection

java.lang.Object
org.eclipse.jetty.io.AbstractConnection
All Implemented Interfaces:
Closeable, AutoCloseable, Connection
Direct Known Subclasses:
AbstractConnection.NonBlocking, SslConnection

public abstract class AbstractConnection extends Object implements Connection

A convenience base implementation of Connection.

This class uses the capabilities of the EndPoint API to provide a more traditional style of async reading. A call to fillInterested() will schedule a callback to onFillable() or onFillInterestedFailed(Throwable) as appropriate.