Uses of Interface
org.apache.http.ConnectionReuseStrategy
Packages that use ConnectionReuseStrategy
Package
Description
Default implementations of HTTP connections for synchronous,
blocking communication.
Embedded server and server bootstrap.
Embedded non-blocking server and server bootstrap.
Core HTTP protocol execution framework and HTTP protocol handlers
for asynchronous, event driven communication.
Core HTTP protocol execution framework and HTTP protocol handlers
for synchronous, blocking communication.
-
Uses of ConnectionReuseStrategy in org.apache.http.impl
Classes in org.apache.http.impl that implement ConnectionReuseStrategyModifier and TypeClassDescriptionclass
Default implementation of a strategy deciding about connection re-use.class
A strategy that never re-uses a connection. -
Uses of ConnectionReuseStrategy in org.apache.http.impl.bootstrap
Fields in org.apache.http.impl.bootstrap declared as ConnectionReuseStrategyMethods in org.apache.http.impl.bootstrap with parameters of type ConnectionReuseStrategyModifier and TypeMethodDescriptionfinal ServerBootstrap
ServerBootstrap.setConnectionReuseStrategy
(ConnectionReuseStrategy connStrategy) AssignsConnectionReuseStrategy
instance. -
Uses of ConnectionReuseStrategy in org.apache.http.impl.nio.bootstrap
Fields in org.apache.http.impl.nio.bootstrap declared as ConnectionReuseStrategyMethods in org.apache.http.impl.nio.bootstrap with parameters of type ConnectionReuseStrategyModifier and TypeMethodDescriptionfinal ServerBootstrap
ServerBootstrap.setConnectionReuseStrategy
(ConnectionReuseStrategy connStrategy) AssignsConnectionReuseStrategy
instance. -
Uses of ConnectionReuseStrategy in org.apache.http.nio.protocol
Fields in org.apache.http.nio.protocol declared as ConnectionReuseStrategyModifier and TypeFieldDescriptionprivate final ConnectionReuseStrategy
HttpAsyncService.connectionStrategy
private final ConnectionReuseStrategy
BasicAsyncClientExchangeHandler.connReuseStrategy
private final ConnectionReuseStrategy
HttpAsyncRequester.connReuseStrategy
private final ConnectionReuseStrategy
PipeliningClientExchangeHandler.connReuseStrategy
protected final ConnectionReuseStrategy
NHttpHandlerBase.connStrategy
Deprecated.private final ConnectionReuseStrategy
BasicAsyncRequestExecutionHandler.reuseStrategy
Deprecated.Methods in org.apache.http.nio.protocol that return ConnectionReuseStrategyModifier and TypeMethodDescriptionBasicAsyncRequestExecutionHandler.getConnectionReuseStrategy()
Deprecated.HttpAsyncRequestExecutionHandler.getConnectionReuseStrategy()
Deprecated.ReturnsConnectionReuseStrategy
implementation to be used to determine whether or not the underlying connection can be kept alive after a particular HTTP request / response exchange.HttpAsyncService.getConnectionStrategy()
Gets the ConnectionReuseStrategy for this service.Constructors in org.apache.http.nio.protocol with parameters of type ConnectionReuseStrategyModifierConstructorDescriptionAsyncNHttpClientHandler
(HttpProcessor httpProcessor, NHttpRequestExecutionHandler execHandler, ConnectionReuseStrategy connStrategy, ByteBufferAllocator allocator, HttpParams params) Deprecated.AsyncNHttpClientHandler
(HttpProcessor httpProcessor, NHttpRequestExecutionHandler execHandler, ConnectionReuseStrategy connStrategy, HttpParams params) Deprecated.AsyncNHttpServiceHandler
(HttpProcessor httpProcessor, HttpResponseFactory responseFactory, ConnectionReuseStrategy connStrategy, ByteBufferAllocator allocator, HttpParams params) Deprecated.AsyncNHttpServiceHandler
(HttpProcessor httpProcessor, HttpResponseFactory responseFactory, ConnectionReuseStrategy connStrategy, HttpParams params) Deprecated.BasicAsyncClientExchangeHandler
(HttpAsyncRequestProducer requestProducer, HttpAsyncResponseConsumer<T> responseConsumer, FutureCallback<T> callback, HttpContext localContext, NHttpClientConnection conn, HttpProcessor httpPocessor, ConnectionReuseStrategy connReuseStrategy) Creates new instance of BasicAsyncRequestExecutionHandler.BasicAsyncRequestExecutionHandler
(HttpAsyncRequestProducer requestProducer, HttpAsyncResponseConsumer<T> responseConsumer, FutureCallback<T> callback, HttpContext localContext, HttpProcessor httpPocessor, ConnectionReuseStrategy reuseStrategy, HttpParams params) Deprecated.BasicAsyncRequestExecutionHandler
(HttpAsyncRequestProducer requestProducer, HttpAsyncResponseConsumer<T> responseConsumer, HttpContext localContext, HttpProcessor httpPocessor, ConnectionReuseStrategy reuseStrategy, HttpParams params) Deprecated.BufferingHttpClientHandler
(HttpProcessor httpProcessor, HttpRequestExecutionHandler execHandler, ConnectionReuseStrategy connStrategy, ByteBufferAllocator allocator, HttpParams params) Deprecated.BufferingHttpClientHandler
(HttpProcessor httpProcessor, HttpRequestExecutionHandler execHandler, ConnectionReuseStrategy connStrategy, HttpParams params) Deprecated.BufferingHttpServiceHandler
(HttpProcessor httpProcessor, HttpResponseFactory responseFactory, ConnectionReuseStrategy connStrategy, ByteBufferAllocator allocator, HttpParams params) Deprecated.BufferingHttpServiceHandler
(HttpProcessor httpProcessor, HttpResponseFactory responseFactory, ConnectionReuseStrategy connStrategy, HttpParams params) Deprecated.HttpAsyncRequester
(HttpProcessor httpprocessor, ConnectionReuseStrategy connReuseStrategy) Creates new instance of HttpAsyncRequester.HttpAsyncRequester
(HttpProcessor httpprocessor, ConnectionReuseStrategy connReuseStrategy, ExceptionLogger exceptionLogger) Creates new instance ofHttpAsyncRequester
.HttpAsyncRequester
(HttpProcessor httpprocessor, ConnectionReuseStrategy reuseStrategy, HttpParams params) Deprecated.HttpAsyncService
(HttpProcessor httpProcessor, ConnectionReuseStrategy connStrategy, HttpResponseFactory responseFactory, HttpAsyncRequestHandlerMapper handlerMapper, HttpAsyncExpectationVerifier expectationVerifier) Creates new instance ofHttpAsyncServerProtocolHandler
.HttpAsyncService
(HttpProcessor httpProcessor, ConnectionReuseStrategy connStrategy, HttpResponseFactory responseFactory, HttpAsyncRequestHandlerMapper handlerMapper, HttpAsyncExpectationVerifier expectationVerifier, ExceptionLogger exceptionLogger) Creates new instance ofHttpAsyncServerProtocolHandler
.HttpAsyncService
(HttpProcessor httpProcessor, ConnectionReuseStrategy connStrategy, HttpResponseFactory responseFactory, HttpAsyncRequestHandlerResolver handlerResolver, HttpAsyncExpectationVerifier expectationVerifier, HttpParams params) HttpAsyncService
(HttpProcessor httpProcessor, ConnectionReuseStrategy connStrategy, HttpAsyncRequestHandlerResolver handlerResolver, HttpParams params) NHttpHandlerBase
(HttpProcessor httpProcessor, ConnectionReuseStrategy connStrategy, ByteBufferAllocator allocator, HttpParams params) Deprecated.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
.ThrottlingHttpClientHandler
(HttpProcessor httpProcessor, HttpRequestExecutionHandler execHandler, ConnectionReuseStrategy connStrategy, Executor executor, HttpParams params) Deprecated.ThrottlingHttpClientHandler
(HttpProcessor httpProcessor, HttpRequestExecutionHandler execHandler, ConnectionReuseStrategy connStrategy, ByteBufferAllocator allocator, Executor executor, HttpParams params) Deprecated.ThrottlingHttpServiceHandler
(HttpProcessor httpProcessor, HttpResponseFactory responseFactory, ConnectionReuseStrategy connStrategy, Executor executor, HttpParams params) Deprecated.ThrottlingHttpServiceHandler
(HttpProcessor httpProcessor, HttpResponseFactory responseFactory, ConnectionReuseStrategy connStrategy, ByteBufferAllocator allocator, Executor executor, HttpParams params) Deprecated. -
Uses of ConnectionReuseStrategy in org.apache.http.protocol
Fields in org.apache.http.protocol declared as ConnectionReuseStrategyMethods in org.apache.http.protocol with parameters of type ConnectionReuseStrategyModifier and TypeMethodDescriptionvoid
HttpService.setConnReuseStrategy
(ConnectionReuseStrategy connStrategy) Deprecated.(4.1) setConnectionReuseStrategy
using constructorConstructors in org.apache.http.protocol with parameters of type ConnectionReuseStrategyModifierConstructorDescriptionHttpService
(HttpProcessor proc, ConnectionReuseStrategy connStrategy, HttpResponseFactory responseFactory) HttpService
(HttpProcessor processor, ConnectionReuseStrategy connStrategy, HttpResponseFactory responseFactory, HttpRequestHandlerMapper handlerMapper) Create a new HTTP service.HttpService
(HttpProcessor processor, ConnectionReuseStrategy connStrategy, HttpResponseFactory responseFactory, HttpRequestHandlerMapper handlerMapper, HttpExpectationVerifier expectationVerifier) Create a new HTTP service.HttpService
(HttpProcessor processor, ConnectionReuseStrategy connStrategy, HttpResponseFactory responseFactory, HttpRequestHandlerResolver handlerResolver, HttpParams params) HttpService
(HttpProcessor processor, ConnectionReuseStrategy connStrategy, HttpResponseFactory responseFactory, HttpRequestHandlerResolver handlerResolver, HttpExpectationVerifier expectationVerifier, HttpParams params)
HttpAsyncRequester(HttpProcessor, ConnectionReuseStrategy)