| Package | Description | 
|---|---|
| org.apache.http.client | 
 Client HTTP communication APIs. 
 | 
| org.apache.http.client.fluent | 
 Simple facade APIs for HttpClient based on the concept of
 a fluent interface. 
 | 
| 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. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
<T> T | 
HttpClient.execute(org.apache.http.HttpHost target,
       org.apache.http.HttpRequest request,
       ResponseHandler<? extends T> responseHandler)
Executes HTTP request to the target using the default context and
 processes the response using the given response handler. 
 | 
<T> T | 
HttpClient.execute(org.apache.http.HttpHost target,
       org.apache.http.HttpRequest request,
       ResponseHandler<? extends T> responseHandler,
       org.apache.http.protocol.HttpContext context)
Executes HTTP request to the target using the given context and
 processes the response using the given response handler. 
 | 
<T> T | 
HttpClient.execute(HttpUriRequest request,
       ResponseHandler<? extends T> responseHandler)
Executes HTTP request using the default context and processes the
 response using the given response handler. 
 | 
<T> T | 
HttpClient.execute(HttpUriRequest request,
       ResponseHandler<? extends T> responseHandler,
       org.apache.http.protocol.HttpContext context)
Executes HTTP request using the given context and processes the
 response using the given response handler. 
 | 
| Modifier and Type | Class and Description | 
|---|---|
class  | 
ContentResponseHandler
 | 
| Modifier and Type | Method and Description | 
|---|---|
<T> Future<T> | 
Async.execute(Request request,
       ResponseHandler<T> handler)  | 
<T> Future<T> | 
Async.execute(Request request,
       ResponseHandler<T> handler,
       org.apache.http.concurrent.FutureCallback<T> callback)  | 
<T> T | 
Response.handleResponse(ResponseHandler<T> handler)
Handles the response using the specified  
ResponseHandler | 
| Modifier and Type | Class and Description | 
|---|---|
class  | 
AbstractResponseHandler<T>
A generic  
ResponseHandler that works with the response entity
 for successful (2xx) responses. | 
class  | 
BasicResponseHandler
A  
ResponseHandler that returns the response body as a String
 for successful (2xx) responses. | 
| Modifier and Type | Method and Description | 
|---|---|
<T> T | 
CloseableHttpClient.execute(org.apache.http.HttpHost target,
       org.apache.http.HttpRequest request,
       ResponseHandler<? extends T> responseHandler)
Executes a request using the default context and processes the
 response using the given response handler. 
 | 
<T> T | 
DecompressingHttpClient.execute(org.apache.http.HttpHost target,
       org.apache.http.HttpRequest request,
       ResponseHandler<? extends T> responseHandler)
Deprecated.  
  | 
<T> T | 
AutoRetryHttpClient.execute(org.apache.http.HttpHost target,
       org.apache.http.HttpRequest request,
       ResponseHandler<? extends T> responseHandler)
Deprecated.  
  | 
<T> T | 
CloseableHttpClient.execute(org.apache.http.HttpHost target,
       org.apache.http.HttpRequest request,
       ResponseHandler<? extends T> responseHandler,
       org.apache.http.protocol.HttpContext context)
Executes a request using the default context and processes the
 response using the given response handler. 
 | 
<T> T | 
DecompressingHttpClient.execute(org.apache.http.HttpHost target,
       org.apache.http.HttpRequest request,
       ResponseHandler<? extends T> responseHandler,
       org.apache.http.protocol.HttpContext context)
Deprecated.  
  | 
<T> T | 
AutoRetryHttpClient.execute(org.apache.http.HttpHost target,
       org.apache.http.HttpRequest request,
       ResponseHandler<? extends T> responseHandler,
       org.apache.http.protocol.HttpContext context)
Deprecated.  
  | 
<T> HttpRequestFutureTask<T> | 
FutureRequestExecutionService.execute(HttpUriRequest request,
       org.apache.http.protocol.HttpContext context,
       ResponseHandler<T> responseHandler)
Schedule a request for execution. 
 | 
<T> HttpRequestFutureTask<T> | 
FutureRequestExecutionService.execute(HttpUriRequest request,
       org.apache.http.protocol.HttpContext context,
       ResponseHandler<T> responseHandler,
       org.apache.http.concurrent.FutureCallback<T> callback)
Schedule a request for execution. 
 | 
<T> T | 
CloseableHttpClient.execute(HttpUriRequest request,
       ResponseHandler<? extends T> responseHandler)
Executes a request using the default context and processes the
 response using the given response handler. 
 | 
<T> T | 
DecompressingHttpClient.execute(HttpUriRequest request,
       ResponseHandler<? extends T> responseHandler)
Deprecated.  
  | 
<T> T | 
AutoRetryHttpClient.execute(HttpUriRequest request,
       ResponseHandler<? extends T> responseHandler)
Deprecated.  
  | 
<T> T | 
CloseableHttpClient.execute(HttpUriRequest request,
       ResponseHandler<? extends T> responseHandler,
       org.apache.http.protocol.HttpContext context)
Executes a request using the default context and processes the
 response using the given response handler. 
 | 
<T> T | 
DecompressingHttpClient.execute(HttpUriRequest request,
       ResponseHandler<? extends T> responseHandler,
       org.apache.http.protocol.HttpContext context)
Deprecated.  
  | 
<T> T | 
AutoRetryHttpClient.execute(HttpUriRequest request,
       ResponseHandler<? extends T> responseHandler,
       org.apache.http.protocol.HttpContext context)
Deprecated.  
  | 
| Modifier and Type | Method and Description | 
|---|---|
<T> T | 
CachingHttpClient.execute(org.apache.http.HttpHost target,
       org.apache.http.HttpRequest request,
       ResponseHandler<? extends T> responseHandler)
Deprecated.  
  | 
<T> T | 
CachingHttpClient.execute(org.apache.http.HttpHost target,
       org.apache.http.HttpRequest request,
       ResponseHandler<? extends T> responseHandler,
       org.apache.http.protocol.HttpContext context)
Deprecated.  
  | 
<T> T | 
CachingHttpClient.execute(HttpUriRequest request,
       ResponseHandler<? extends T> responseHandler)
Deprecated.  
  | 
<T> T | 
CachingHttpClient.execute(HttpUriRequest request,
       ResponseHandler<? extends T> responseHandler,
       org.apache.http.protocol.HttpContext context)
Deprecated.  
  | 
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.