Uses of Interface
org.apache.http.nio.NHttpClientConnection
Packages that use NHttpClientConnection
Package
Description
Default implementations of HTTP connections for asynchronous,
even driven communication.
Default implementations of client side connection pools
for asynchronous, even driven communication.
Core HTTP component APIs and primitives for asynchronous, event
driven communication.
Core HTTP protocol execution framework and HTTP protocol handlers
for asynchronous, event driven communication.
-
Uses of NHttpClientConnection in org.apache.http.impl.nio
Classes in org.apache.http.impl.nio that implement NHttpClientConnectionModifier and TypeClassDescriptionclassDefault implementation of theNHttpClientConnectioninterface.Methods in org.apache.http.impl.nio with parameters of type NHttpClientConnectionModifier and TypeMethodDescriptionvoidNHttpClientEventHandlerAdaptor.closed(NHttpClientConnection conn) Deprecated.voidNHttpClientEventHandlerAdaptor.connected(NHttpClientConnection conn, Object attachment) Deprecated.voidNHttpClientEventHandlerAdaptor.endOfInput(NHttpClientConnection conn) Deprecated.voidNHttpClientEventHandlerAdaptor.exception(NHttpClientConnection conn, Exception ex) Deprecated.voidNHttpClientEventHandlerAdaptor.inputReady(NHttpClientConnection conn, ContentDecoder decoder) Deprecated.voidNHttpClientEventHandlerAdaptor.outputReady(NHttpClientConnection conn, ContentEncoder encoder) Deprecated.voidNHttpClientEventHandlerAdaptor.requestReady(NHttpClientConnection conn) Deprecated.voidNHttpClientEventHandlerAdaptor.responseReceived(NHttpClientConnection conn) Deprecated.voidNHttpClientEventHandlerAdaptor.timeout(NHttpClientConnection conn) Deprecated. -
Uses of NHttpClientConnection in org.apache.http.impl.nio.pool
Fields in org.apache.http.impl.nio.pool with type parameters of type NHttpClientConnectionModifier and TypeFieldDescriptionprivate final NHttpConnectionFactory<? extends NHttpClientConnection>BasicNIOConnFactory.plainFactoryprivate final NHttpConnectionFactory<? extends NHttpClientConnection>BasicNIOConnFactory.sslFactoryMethods in org.apache.http.impl.nio.pool that return NHttpClientConnectionModifier and TypeMethodDescriptionMethods in org.apache.http.impl.nio.pool with parameters of type NHttpClientConnectionModifier and TypeMethodDescriptionprotected BasicNIOPoolEntryBasicNIOConnPool.createEntry(HttpHost host, NHttpClientConnection conn) Constructors in org.apache.http.impl.nio.pool with parameters of type NHttpClientConnectionModifierConstructorDescriptionBasicNIOPoolEntry(String id, HttpHost route, NHttpClientConnection conn) Constructor parameters in org.apache.http.impl.nio.pool with type arguments of type NHttpClientConnectionModifierConstructorDescriptionBasicNIOConnFactory(NHttpConnectionFactory<? extends NHttpClientConnection> plainFactory) BasicNIOConnFactory(NHttpConnectionFactory<? extends NHttpClientConnection> plainFactory, NHttpConnectionFactory<? extends NHttpClientConnection> sslFactory) BasicNIOConnPool(ConnectingIOReactor ioReactor, NIOConnFactory<HttpHost, NHttpClientConnection> connFactory, int connectTimeout) BasicNIOConnPool(ConnectingIOReactor ioReactor, NIOConnFactory<HttpHost, NHttpClientConnection> connFactory, HttpParams params) Deprecated. -
Uses of NHttpClientConnection in org.apache.http.nio
Subinterfaces of NHttpClientConnection in org.apache.http.nioModifier and TypeInterfaceDescriptioninterfaceDeprecated.(4.2) no longer usedMethods in org.apache.http.nio with parameters of type NHttpClientConnectionModifier and TypeMethodDescriptionvoidNHttpClientEventHandler.closed(NHttpClientConnection conn) Triggered when the connection is closed.voidNHttpClientHandler.closed(NHttpClientConnection conn) Deprecated.Triggered when the connection is closed.voidNHttpClientEventHandler.connected(NHttpClientConnection conn, Object attachment) Triggered when a new outgoing connection is created.voidNHttpClientHandler.connected(NHttpClientConnection conn, Object attachment) Deprecated.Triggered when a new outgoing connection is created.voidNHttpClientEventHandler.endOfInput(NHttpClientConnection conn) Triggered when the connection is closed by the opposite end point (half-closed).voidNHttpClientEventHandler.exception(NHttpClientConnection conn, Exception ex) Triggered if an error occurs during the HTTP exchange.voidNHttpClientHandler.exception(NHttpClientConnection conn, IOException ex) Deprecated.Triggered when an I/O error occurs while reading from or writing to the underlying channel.voidNHttpClientHandler.exception(NHttpClientConnection conn, HttpException ex) Deprecated.Triggered when an HTTP protocol violation occurs while receiving an HTTP response.voidNHttpClientEventHandler.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.voidNHttpClientHandler.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.voidNHttpClientEventHandler.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.voidNHttpClientHandler.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.voidNHttpClientEventHandler.requestReady(NHttpClientConnection conn) Triggered when the connection is ready to accept a new HTTP request.voidNHttpClientHandler.requestReady(NHttpClientConnection conn) Deprecated.Triggered when the connection is ready to accept a new HTTP request.voidNHttpClientEventHandler.responseReceived(NHttpClientConnection conn) Triggered when an HTTP response is received.voidNHttpClientHandler.responseReceived(NHttpClientConnection conn) Deprecated.Triggered when an HTTP response is received.voidNHttpClientEventHandler.timeout(NHttpClientConnection conn) Triggered when no input is detected on this connection over the maximum period of inactivity.voidNHttpClientHandler.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
Classes in org.apache.http.nio.protocol with type parameters of type NHttpClientConnectionModifier and TypeClassDescription(package private) classHttpAsyncRequester.ConnPipelinedRequestCallback<T,E extends PoolEntry<HttpHost, NHttpClientConnection>> (package private) class(package private) classFields in org.apache.http.nio.protocol declared as NHttpClientConnectionModifier and TypeFieldDescriptionprivate final NHttpClientConnectionBasicAsyncClientExchangeHandler.connprivate final NHttpClientConnectionPipeliningClientExchangeHandler.connMethods in org.apache.http.nio.protocol with type parameters of type NHttpClientConnectionModifier and TypeMethodDescription<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.<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<List<T>>HttpAsyncRequester.executePipelined(List<HttpAsyncRequestProducer> requestProducers, List<HttpAsyncResponseConsumer<T>> responseConsumers, E poolEntry, ConnPool<HttpHost, E> connPool, HttpContext context, FutureCallback<List<T>> callback) Initiates asynchronous pipelined HTTP request execution.<T,E extends PoolEntry<HttpHost, NHttpClientConnection>>
Future<List<T>>HttpAsyncRequester.executePipelined(HttpHost target, List<? extends HttpAsyncRequestProducer> requestProducers, List<? extends HttpAsyncResponseConsumer<T>> responseConsumers, ConnPool<HttpHost, E> connPool, HttpContext context, FutureCallback<List<T>> callback) Initiates asynchronous pipelined HTTP request execution.Methods in org.apache.http.nio.protocol with parameters of type NHttpClientConnectionModifier and TypeMethodDescriptionprivate voidAsyncNHttpClientHandler.cancelRequest(NHttpClientConnection conn, AsyncNHttpClientHandler.ClientConnState connState) Deprecated.voidAsyncNHttpClientHandler.closed(NHttpClientConnection conn) Deprecated.voidBufferingHttpClientHandler.closed(NHttpClientConnection conn) Deprecated.voidHttpAsyncRequestExecutor.closed(NHttpClientConnection conn) voidThrottlingHttpClientHandler.closed(NHttpClientConnection conn) Deprecated.voidAsyncNHttpClientHandler.connected(NHttpClientConnection conn, Object attachment) Deprecated.voidBufferingHttpClientHandler.connected(NHttpClientConnection conn, Object attachment) Deprecated.voidHttpAsyncRequestExecutor.connected(NHttpClientConnection conn, Object attachment) voidThrottlingHttpClientHandler.connected(NHttpClientConnection conn, Object attachment) Deprecated.private voidAsyncNHttpClientHandler.continueRequest(NHttpClientConnection conn, AsyncNHttpClientHandler.ClientConnState connState) Deprecated.private voidThrottlingHttpClientHandler.continueRequest(NHttpClientConnection conn, ThrottlingHttpClientHandler.ClientConnState connState) Deprecated.voidHttpAsyncRequestExecutor.endOfInput(NHttpClientConnection conn) voidAsyncNHttpClientHandler.exception(NHttpClientConnection conn, IOException ex) Deprecated.voidAsyncNHttpClientHandler.exception(NHttpClientConnection conn, HttpException ex) Deprecated.voidBufferingHttpClientHandler.exception(NHttpClientConnection conn, IOException ioex) Deprecated.voidBufferingHttpClientHandler.exception(NHttpClientConnection conn, HttpException httpex) Deprecated.voidHttpAsyncRequestExecutor.exception(NHttpClientConnection conn, Exception cause) voidThrottlingHttpClientHandler.exception(NHttpClientConnection conn, IOException ex) Deprecated.voidThrottlingHttpClientHandler.exception(NHttpClientConnection conn, HttpException 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.private voidThrottlingHttpClientHandler.handleResponse(HttpResponse response, ThrottlingHttpClientHandler.ClientConnState connState, NHttpClientConnection conn) Deprecated.private voidHttpAsyncRequester.initExecution(HttpAsyncClientExchangeHandler handler, NHttpClientConnection conn) private voidAsyncNHttpClientHandler.initialize(NHttpClientConnection conn, Object attachment) Deprecated.private voidThrottlingHttpClientHandler.initialize(NHttpClientConnection conn, Object attachment) Deprecated.voidAsyncNHttpClientHandler.inputReady(NHttpClientConnection conn, ContentDecoder decoder) Deprecated.voidBufferingHttpClientHandler.inputReady(NHttpClientConnection conn, ContentDecoder decoder) Deprecated.voidHttpAsyncRequestExecutor.inputReady(NHttpClientConnection conn, ContentDecoder decoder) voidThrottlingHttpClientHandler.inputReady(NHttpClientConnection conn, ContentDecoder decoder) Deprecated.voidAsyncNHttpClientHandler.outputReady(NHttpClientConnection conn, ContentEncoder encoder) Deprecated.voidBufferingHttpClientHandler.outputReady(NHttpClientConnection conn, ContentEncoder encoder) Deprecated.voidHttpAsyncRequestExecutor.outputReady(NHttpClientConnection conn, ContentEncoder encoder) voidThrottlingHttpClientHandler.outputReady(NHttpClientConnection conn, ContentEncoder encoder) Deprecated.private voidAsyncNHttpClientHandler.processResponse(NHttpClientConnection conn, AsyncNHttpClientHandler.ClientConnState connState) Deprecated.private voidHttpAsyncRequestExecutor.processResponse(NHttpClientConnection conn, HttpAsyncRequestExecutor.State state, HttpAsyncClientExchangeHandler handler) voidAsyncNHttpClientHandler.requestReady(NHttpClientConnection conn) Deprecated.voidBufferingHttpClientHandler.requestReady(NHttpClientConnection conn) Deprecated.voidHttpAsyncRequestExecutor.requestReady(NHttpClientConnection conn) voidThrottlingHttpClientHandler.requestReady(NHttpClientConnection conn) Deprecated.voidAsyncNHttpClientHandler.responseReceived(NHttpClientConnection conn) Deprecated.voidBufferingHttpClientHandler.responseReceived(NHttpClientConnection conn) Deprecated.voidHttpAsyncRequestExecutor.responseReceived(NHttpClientConnection conn) voidThrottlingHttpClientHandler.responseReceived(NHttpClientConnection conn) Deprecated.private voidThrottlingHttpClientHandler.sendRequestBody(HttpEntityEnclosingRequest request, ThrottlingHttpClientHandler.ClientConnState connState, NHttpClientConnection conn) Deprecated.voidAsyncNHttpClientHandler.timeout(NHttpClientConnection conn) Deprecated.voidBufferingHttpClientHandler.timeout(NHttpClientConnection conn) Deprecated.voidHttpAsyncRequestExecutor.timeout(NHttpClientConnection conn) voidThrottlingHttpClientHandler.timeout(NHttpClientConnection conn) Deprecated.Constructors in org.apache.http.nio.protocol with parameters of type NHttpClientConnectionModifierConstructorDescriptionBasicAsyncClientExchangeHandler(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.PipeliningClientExchangeHandler(List<? extends HttpAsyncRequestProducer> requestProducers, List<? extends HttpAsyncResponseConsumer<T>> responseConsumers, FutureCallback<List<T>> callback, HttpContext localContext, NHttpClientConnection conn, HttpProcessor httpPocessor, ConnectionReuseStrategy connReuseStrategy) Creates new instance ofPipeliningClientExchangeHandler.PipeliningClientExchangeHandler(List<? extends HttpAsyncRequestProducer> requestProducers, List<? extends HttpAsyncResponseConsumer<T>> responseConsumers, HttpContext localContext, NHttpClientConnection conn, HttpProcessor httpPocessor) Creates new instance ofPipeliningClientExchangeHandler.
BasicNIOConnPool(ConnectingIOReactor, NIOConnFactory, int)