Class AbstractConnection

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

public abstract class AbstractConnection extends Object implements Connection, org.eclipse.jetty.util.thread.Invocable

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.