Class AbstractConnection

java.lang.Object
org.eclipse.jetty.io.AbstractConnection
All Implemented Interfaces:
Closeable, AutoCloseable, Connection
Direct Known Subclasses:
HTTP2Connection, HttpConnection, HttpConnectionOverFCGI, HttpConnectionOverHTTP, NegotiatingClientConnection, NegotiatingServerConnection, ProxyConnection, ProxyProtocolClientConnectionFactory.ProxyProtocolConnection, QuicConnection, ServerFCGIConnection, SslConnection, WebSocketConnection

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.