Uses of Interface
org.apache.http.client.HttpClient
-
Packages that use HttpClient Package Description org.apache.http.client.fluent Simple facade APIs for HttpClient based on the concept of a fluent interface.org.apache.http.client.utils Client utility classes.org.apache.http.impl.client Default HTTP client implementation.org.apache.http.impl.client.cache This package contains a cache module that can be used for HTTP/1.1 client-side caching. -
-
Uses of HttpClient in org.apache.http.client.fluent
Fields in org.apache.http.client.fluent declared as HttpClient Modifier and Type Field Description (package private) static HttpClient
Executor. CLIENT
private HttpClient
Executor. httpclient
Methods in org.apache.http.client.fluent with parameters of type HttpClient Modifier and Type Method Description (package private) org.apache.http.HttpResponse
Request. internalExecute(HttpClient client, org.apache.http.protocol.HttpContext localContext)
static Executor
Executor. newInstance(HttpClient httpclient)
Constructors in org.apache.http.client.fluent with parameters of type HttpClient Constructor Description Executor(HttpClient httpclient)
-
Uses of HttpClient in org.apache.http.client.utils
Methods in org.apache.http.client.utils with parameters of type HttpClient Modifier and Type Method Description static void
HttpClientUtils. closeQuietly(HttpClient httpClient)
Unconditionally close a httpClient. -
Uses of HttpClient in org.apache.http.impl.client
Classes in org.apache.http.impl.client that implement HttpClient Modifier and Type Class Description class
AbstractHttpClient
Deprecated.(4.3) useHttpClientBuilder
.class
AutoRetryHttpClient
Deprecated.(4.3) useHttpClientBuilder
.class
CloseableHttpClient
Base implementation ofHttpClient
that also implementsCloseable
.class
ContentEncodingHttpClient
Deprecated.(4.2) useHttpClientBuilder
class
DecompressingHttpClient
Deprecated.(4.3) useHttpClientBuilder
class
DefaultHttpClient
Deprecated.(4.3) useHttpClientBuilder
see alsoCloseableHttpClient
.(package private) class
InternalHttpClient
Internal class.(package private) class
MinimalHttpClient
Internal class.class
SystemDefaultHttpClient
Deprecated.(4.3) useHttpClientBuilder
Fields in org.apache.http.impl.client declared as HttpClient Modifier and Type Field Description private HttpClient
AutoRetryHttpClient. backend
Deprecated.private HttpClient
DecompressingHttpClient. backend
Deprecated.private HttpClient
FutureRequestExecutionService. httpclient
private HttpClient
HttpRequestTaskCallable. httpclient
Methods in org.apache.http.impl.client that return HttpClient Modifier and Type Method Description HttpClient
DecompressingHttpClient. getHttpClient()
Deprecated.Gets the HttpClient to issue request.Constructors in org.apache.http.impl.client with parameters of type HttpClient Constructor Description AutoRetryHttpClient(HttpClient client)
Deprecated.Constructs aAutoRetryHttpClient
with default caching settings that stores cache entries in memory and uses the givenHttpClient
for backend requests.AutoRetryHttpClient(HttpClient client, ServiceUnavailableRetryStrategy retryStrategy)
Deprecated.DecompressingHttpClient(HttpClient backend)
Deprecated.Constructs a decorator to ask for and handle compressed entities on the fly.DecompressingHttpClient(HttpClient backend, org.apache.http.HttpRequestInterceptor requestInterceptor, org.apache.http.HttpResponseInterceptor responseInterceptor)
Deprecated.FutureRequestExecutionService(HttpClient httpclient, java.util.concurrent.ExecutorService executorService)
Create a new FutureRequestExecutionService.HttpRequestTaskCallable(HttpClient httpClient, HttpUriRequest request, org.apache.http.protocol.HttpContext context, ResponseHandler<V> responseHandler, org.apache.http.concurrent.FutureCallback<V> callback, FutureRequestExecutionMetrics metrics)
-
Uses of HttpClient in org.apache.http.impl.client.cache
Classes in org.apache.http.impl.client.cache that implement HttpClient Modifier and Type Class Description class
CachingHttpClient
Deprecated.(4.3) useCachingHttpClientBuilder
orCachingHttpClients
.Fields in org.apache.http.impl.client.cache declared as HttpClient Modifier and Type Field Description private HttpClient
CachingHttpClient. backend
Deprecated.Constructors in org.apache.http.impl.client.cache with parameters of type HttpClient Constructor Description CachingHttpClient(HttpClient client)
Deprecated.Constructs aCachingHttpClient
with default caching settings that stores cache entries in memory and uses the givenHttpClient
for backend requests.CachingHttpClient(HttpClient client, HttpCacheStorage storage, CacheConfig config)
Deprecated.Constructs aCachingHttpClient
with the given caching options that stores cache entries in the provided storage backend and uses the givenHttpClient
for backend requests.CachingHttpClient(HttpClient client, ResourceFactory resourceFactory, HttpCacheStorage storage, CacheConfig config)
Deprecated.Constructs aCachingHttpClient
with the given caching options that stores cache entries in the provided storage backend and uses the givenHttpClient
for backend requests.CachingHttpClient(HttpClient client, CacheConfig config)
Deprecated.Constructs aCachingHttpClient
with the given caching options that stores cache entries in memory and uses the givenHttpClient
for backend requests.CachingHttpClient(HttpClient backend, CacheValidityPolicy validityPolicy, ResponseCachingPolicy responseCachingPolicy, HttpCache responseCache, CachedHttpResponseGenerator responseGenerator, CacheableRequestPolicy cacheableRequestPolicy, CachedResponseSuitabilityChecker suitabilityChecker, ConditionalRequestBuilder conditionalRequestBuilder, ResponseProtocolCompliance responseCompliance, RequestProtocolCompliance requestCompliance)
Deprecated.CachingHttpClient(HttpClient client, HttpCache cache, CacheConfig config)
Deprecated.
-