Interface Connection

All Superinterfaces:
AutoCloseable, Closeable
All Known Subinterfaces:
IConnection
All Known Implementing Classes:
HttpConnection, HttpConnectionOverFCGI, HttpConnectionOverHTTP, HttpConnectionOverHTTP2

public interface Connection extends Closeable
Connection represent a connection to a Destination and allow applications to send requests via send(Request, Response.CompleteListener).

Connections are normally pooled by Destinations, but unpooled Connections may be created by applications that want to do their own connection management via Destination.newConnection(Promise) and close().