## Uses of Interface
org.apache.http.nio.NHttpClientConnection

Packages that use NHttpClientConnection
Package | Description
--- | ---
org.apache.http.impl.nio | Default implementations for interfaces in `org.apache.http.nio`.
org.apache.http.impl.nio.pool | Basic implementations for interfaces in `org.apache.http.nio.pool`.
org.apache.http.nio | Core HTTP components based on the non-blocking I/O model.
org.apache.http.nio.protocol | Asynchronous HTTP protocol handlers based on the non-blocking I/O model.

### Uses of NHttpClientConnection in org.apache.http.impl.nio

Classes in org.apache.http.impl.nio that implement NHttpClientConnection
Modifier and Type | Class and Description
--- | ---
`class` | `DefaultNHttpClientConnection` Default implementation of the `NHttpClientConnection` interface.

### Uses of NHttpClientConnection in org.apache.http.impl.nio.pool

Methods in org.apache.http.impl.nio.pool that return NHttpClientConnection
Modifier and Type | Method and Description
--- | ---
`NHttpClientConnection` | BasicNIOConnFactory.`create(HttpHost route, IOSession session)`

Methods in org.apache.http.impl.nio.pool with parameters of type NHttpClientConnection
Modifier and Type | Method and Description
--- | ---
`protected BasicNIOPoolEntry` | BasicNIOConnPool.`createEntry(HttpHost host, NHttpClientConnection conn)`

Constructors in org.apache.http.impl.nio.pool with parameters of type NHttpClientConnection
Constructor and Description
`BasicNIOPoolEntry(String id, HttpHost route, NHttpClientConnection conn)`

Constructor parameters in org.apache.http.impl.nio.pool with type arguments of type NHttpClientConnection
Constructor and Description
`BasicNIOConnFactory(NHttpConnectionFactory<? extends NHttpClientConnection> plainFactory)`
`BasicNIOConnFactory(NHttpConnectionFactory<? extends NHttpClientConnection> plainFactory, NHttpConnectionFactory<? extends NHttpClientConnection> sslFactory)`
`BasicNIOConnFactory(NHttpConnectionFactory<? extends NHttpClientConnection> plainFactory, NHttpConnectionFactory<? extends NHttpClientConnection> sslFactory)`
`BasicNIOConnPool(ConnectingIOReactor ioreactor, NIOConnFactory<HttpHost,NHttpClientConnection> connFactory, HttpParams params)` Deprecated. (4.3) use `BasicNIOConnPool.BasicNIOConnPool(ConnectingIOReactor, NIOConnFactory, int)`
`BasicNIOConnPool(ConnectingIOReactor ioreactor, NIOConnFactory<HttpHost,NHttpClientConnection> connFactory, int connectTimeout)`

### Uses of NHttpClientConnection in org.apache.http.nio

Subinterfaces of NHttpClientConnection in org.apache.http.nio
Modifier and Type | Interface and Description
--- | ---
`interface` | `NHttpClientIOTarget` Deprecated. (4.2) no longer used

Methods in org.apache.http.nio with parameters of type NHttpClientConnection
Modifier and Type | Method and Description
--- | ---
`void` | NHttpClientEventHandler.`closed(NHttpClientConnection conn)` Triggered when the connection is closed.
`void` | NHttpClientHandler.`closed(NHttpClientConnection conn)` Deprecated. Triggered when the connection is closed.
`void` | NHttpClientEventHandler.`connected(NHttpClientConnection conn, Object attachment)` Triggered when a new outgoing connection is created.
`void` | NHttpClientHandler.`connected(NHttpClientConnection conn, Object attachment)` Deprecated. Triggered when a new outgoing connection is created.
`void` | NHttpClientEventHandler.`endOfInput(NHttpClientConnection conn)` Triggered when the connection is closed by the opposite end point (half-closed).
`void` | NHttpClientEventHandler.`exception(NHttpClientConnection conn, Exception ex)` Triggered if an error occurs during the HTTP exchange.
`void` | NHttpClientHandler.`exception(NHttpClientConnection conn, HttpException ex)` Deprecated. Triggered when an HTTP protocol violation occurs while receiving an HTTP response.
`void` | NHttpClientHandler.`exception(NHttpClientConnection conn, IOException ex)` Deprecated. Triggered when an I/O error occurs while reading from or writing to the underlying channel.
`void` | NHttpClientEventHandler.`inputReady(NHttpClientConnection conn, ContentDecoder decoder)` Triggered when the underlying channel is ready for reading a new portion of the response entity through the corresponding content decoder.
`void` | NHttpClientHandler.`inputReady(NHttpClientConnection conn, ContentDecoder decoder)` Deprecated. Triggered when the underlying channel is ready for reading a new portion of the response entity through the corresponding content decoder.
`void` | NHttpClientEventHandler.`outputReady(NHttpClientConnection conn, ContentEncoder encoder)` Triggered when the underlying channel is ready for writing a next portion of the request entity through the corresponding content encoder.
`void` | NHttpClientHandler.`outputReady(NHttpClientConnection conn, ContentEncoder encoder)` Deprecated. Triggered when the underlying channel is ready for writing a next portion of the request entity through the corresponding content encoder.
`void` | NHttpClientEventHandler.`requestReady(NHttpClientConnection conn)` Triggered when the connection is ready to accept a new HTTP request.
`void` | NHttpClientHandler.`requestReady(NHttpClientConnection conn)` Deprecated. Triggered when the connection is ready to accept a new HTTP request.
`void` | NHttpClientEventHandler.`responseReceived(NHttpClientConnection conn)` Triggered when an HTTP response is received.
`void` | NHttpClientHandler.`responseReceived(NHttpClientConnection conn)` Deprecated. Triggered when an HTTP response is received.
`void` | NHttpClientEventHandler.`timeout(NHttpClientConnection conn)` Triggered when no input is detected on this connection over the maximum period of inactivity.
`void` | NHttpClientHandler.`timeout(NHttpClientConnection conn)` Deprecated. Triggered when no input is detected on this connection over the maximum period of inactivity.

### Uses of NHttpClientConnection in org.apache.http.nio.protocol

Methods in org.apache.http.nio.protocol with type parameters of type NHttpClientConnection
Modifier and Type | Method and Description
--- | ---
`<T,E extends PoolEntry<HttpHost,NHttpClientConnection>> Future<T>` | HttpAsyncRequester.`execute(HttpAsyncRequestProducer requestProducer, HttpAsyncResponseConsumer<T> responseConsumer, ConnPool<HttpHost,E> connPool)` Initiates asynchronous HTTP request execution.
`<T,E extends PoolEntry<HttpHost,NHttpClientConnection>> Future<T>` | HttpAsyncRequester.`execute(HttpAsyncRequestProducer requestProducer, HttpAsyncResponseConsumer<T> responseConsumer, ConnPool<HttpHost,E> connPool, HttpContext context)` Initiates asynchronous HTTP request execution.
`<T,E extends PoolEntry<HttpHost,NHttpClientConnection>> Future<T>` | HttpAsyncRequester.`execute(HttpAsyncRequestProducer requestProducer, HttpAsyncResponseConsumer<T> responseConsumer, ConnPool<HttpHost,E> connPool, HttpContext context, FutureCallback<T> callback)` Initiates asynchronous HTTP request execution.
`<T,E extends PoolEntry<HttpHost,NHttpClientConnection>> Future<T>` | HttpAsyncRequester.`execute(HttpAsyncRequestProducer requestProducer, HttpAsyncResponseConsumer<T> responseConsumer, E poolEntry, ConnPool<HttpHost,E> connPool, HttpContext context, FutureCallback<T> callback)` Initiates asynchronous HTTP request execution.

Methods in org.apache.http.nio.protocol with parameters of type NHttpClientConnection
Modifier and Type | Method and Description
--- | ---
`void` | BufferingHttpClientHandler.`closed(NHttpClientConnection conn)` Deprecated.
`void` | ThrottlingHttpClientHandler.`closed(NHttpClientConnection conn)` Deprecated.
`void` | AsyncNHttpClientHandler.`closed(NHttpClientConnection conn)` Deprecated.
`void` | HttpAsyncRequestExecutor.`closed(NHttpClientConnection conn)`
`void` | BufferingHttpClientHandler.`connected(NHttpClientConnection conn, Object attachment)` Deprecated.
`void` | ThrottlingHttpClientHandler.`connected(NHttpClientConnection conn, Object attachment)` Deprecated.
`void` | AsyncNHttpClientHandler.`connected(NHttpClientConnection conn, Object attachment)` Deprecated.
`void` | HttpAsyncRequestExecutor.`connected(NHttpClientConnection conn, Object attachment)`
`void` | HttpAsyncRequestExecutor.`endOfInput(NHttpClientConnection conn)`
`void` | HttpAsyncRequestExecutor.`exception(NHttpClientConnection conn, Exception cause)`
`void` | BufferingHttpClientHandler.`exception(NHttpClientConnection conn, HttpException httpex)` Deprecated.
`void` | ThrottlingHttpClientHandler.`exception(NHttpClientConnection conn, HttpException ex)` Deprecated.
`void` | AsyncNHttpClientHandler.`exception(NHttpClientConnection conn, HttpException ex)` Deprecated.
`void` | BufferingHttpClientHandler.`exception(NHttpClientConnection conn, IOException ioex)` Deprecated.
`void` | ThrottlingHttpClientHandler.`exception(NHttpClientConnection conn, IOException ex)` Deprecated.
`void` | AsyncNHttpClientHandler.`exception(NHttpClientConnection conn, IOException ex)` Deprecated.
`<T> Future<T>` | HttpAsyncRequester.`execute(HttpAsyncRequestProducer requestProducer, HttpAsyncResponseConsumer<T> responseConsumer, NHttpClientConnection conn)` Initiates asynchronous HTTP request execution.
`<T> Future<T>` | HttpAsyncRequester.`execute(HttpAsyncRequestProducer requestProducer, HttpAsyncResponseConsumer<T> responseConsumer, NHttpClientConnection conn, HttpContext context)` Initiates asynchronous HTTP request execution.
`<T> Future<T>` | HttpAsyncRequester.`execute(HttpAsyncRequestProducer requestProducer, HttpAsyncResponseConsumer<T> responseConsumer, NHttpClientConnection conn, HttpContext context, FutureCallback<T> callback)` Initiates asynchronous HTTP request execution.
`void` | BufferingHttpClientHandler.`inputReady(NHttpClientConnection conn, ContentDecoder decoder)` Deprecated.
`void` | ThrottlingHttpClientHandler.`inputReady(NHttpClientConnection conn, ContentDecoder decoder)` Deprecated.
`void` | AsyncNHttpClientHandler.`inputReady(NHttpClientConnection conn, ContentDecoder decoder)` Deprecated.
`void` | HttpAsyncRequestExecutor.`inputReady(NHttpClientConnection conn, ContentDecoder decoder)`
`void` | BufferingHttpClientHandler.`outputReady(NHttpClientConnection conn, ContentEncoder encoder)` Deprecated.
`void` | ThrottlingHttpClientHandler.`outputReady(NHttpClientConnection conn, ContentEncoder encoder)` Deprecated.
`void` | AsyncNHttpClientHandler.`outputReady(NHttpClientConnection conn, ContentEncoder encoder)` Deprecated.
`void` | HttpAsyncRequestExecutor.`outputReady(NHttpClientConnection conn, ContentEncoder encoder)`
`void` | BufferingHttpClientHandler.`requestReady(NHttpClientConnection conn)` Deprecated.
`void` | ThrottlingHttpClientHandler.`requestReady(NHttpClientConnection conn)` Deprecated.
`void` | AsyncNHttpClientHandler.`requestReady(NHttpClientConnection conn)` Deprecated.
`void` | HttpAsyncRequestExecutor.`requestReady(NHttpClientConnection conn)`
`void` | BufferingHttpClientHandler.`responseReceived(NHttpClientConnection conn)` Deprecated.
`void` | ThrottlingHttpClientHandler.`responseReceived(NHttpClientConnection conn)` Deprecated.
`void` | AsyncNHttpClientHandler.`responseReceived(NHttpClientConnection conn)` Deprecated.
`void` | HttpAsyncRequestExecutor.`responseReceived(NHttpClientConnection conn)`
`void` | BufferingHttpClientHandler.`timeout(NHttpClientConnection conn)` Deprecated.
`void` | ThrottlingHttpClientHandler.`timeout(NHttpClientConnection conn)` Deprecated.
`void` | AsyncNHttpClientHandler.`timeout(NHttpClientConnection conn)` Deprecated.
`void` | HttpAsyncRequestExecutor.`timeout(NHttpClientConnection conn)`

Constructors in org.apache.http.nio.protocol with parameters of type NHttpClientConnection
Constructor and Description
`BasicAsyncClientExchangeHandler(HttpAsyncRequestProducer requestProducer, HttpAsyncResponseConsumer<T> responseConsumer, FutureCallback<T> callback, HttpContext localContext, NHttpClientConnection conn, HttpProcessor httppocessor, ConnectionReuseStrategy connReuseStrategy)` Creates new instance of BasicAsyncRequestExecutionHandler.
`BasicAsyncClientExchangeHandler(HttpAsyncRequestProducer requestProducer, HttpAsyncResponseConsumer<T> responseConsumer, HttpContext localContext, NHttpClientConnection conn, HttpProcessor httppocessor)` Creates new instance of BasicAsyncRequestExecutionHandler.