| Package | Description |
|---|---|
| org.apache.http.client |
The API for client-side HTTP communication.
|
| org.apache.http.impl.client |
Default implementations for interfaces in
org.apache.http.client. |
| Modifier and Type | Method and Description |
|---|---|
<T> T |
HttpClient.execute(HttpHost target,
HttpRequest request,
ResponseHandler<? extends T> responseHandler)
Executes a request to the target using the default context and
processes the response using the given response handler.
|
<T> T |
HttpClient.execute(HttpHost target,
HttpRequest request,
ResponseHandler<? extends T> responseHandler,
HttpContext context)
Executes a 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 a request using the default context and processes the
response using the given response handler.
|
<T> T |
HttpClient.execute(HttpUriRequest request,
ResponseHandler<? extends T> responseHandler,
HttpContext context)
Executes a request using the given context and processes the
response using the given response handler.
|
| Modifier and Type | Class and Description |
|---|---|
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(HttpHost target,
HttpRequest request,
ResponseHandler<? extends T> responseHandler)
Executes a request using the default context and processes the
response using the given response handler.
|
<T> T |
AutoRetryHttpClient.execute(HttpHost target,
HttpRequest request,
ResponseHandler<? extends T> responseHandler)
Deprecated.
|
<T> T |
DecompressingHttpClient.execute(HttpHost target,
HttpRequest request,
ResponseHandler<? extends T> responseHandler)
Deprecated.
|
<T> T |
CloseableHttpClient.execute(HttpHost target,
HttpRequest request,
ResponseHandler<? extends T> responseHandler,
HttpContext context)
Executes a request using the default context and processes the
response using the given response handler.
|
<T> T |
AutoRetryHttpClient.execute(HttpHost target,
HttpRequest request,
ResponseHandler<? extends T> responseHandler,
HttpContext context)
Deprecated.
|
<T> T |
DecompressingHttpClient.execute(HttpHost target,
HttpRequest request,
ResponseHandler<? extends T> responseHandler,
HttpContext context)
Deprecated.
|
<T> HttpRequestFutureTask<T> |
FutureRequestExecutionService.execute(HttpUriRequest request,
HttpContext context,
ResponseHandler<T> responseHandler)
Schedule a request for execution.
|
<T> HttpRequestFutureTask<T> |
FutureRequestExecutionService.execute(HttpUriRequest request,
HttpContext context,
ResponseHandler<T> responseHandler,
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 |
AutoRetryHttpClient.execute(HttpUriRequest request,
ResponseHandler<? extends T> responseHandler)
Deprecated.
|
<T> T |
DecompressingHttpClient.execute(HttpUriRequest request,
ResponseHandler<? extends T> responseHandler)
Deprecated.
|
<T> T |
CloseableHttpClient.execute(HttpUriRequest request,
ResponseHandler<? extends T> responseHandler,
HttpContext context)
Executes a request using the default context and processes the
response using the given response handler.
|
<T> T |
AutoRetryHttpClient.execute(HttpUriRequest request,
ResponseHandler<? extends T> responseHandler,
HttpContext context)
Deprecated.
|
<T> T |
DecompressingHttpClient.execute(HttpUriRequest request,
ResponseHandler<? extends T> responseHandler,
HttpContext context)
Deprecated.
|
<T> List<Future<T>> |
FutureRequestExecutionService.executeMultiple(HttpContext context,
ResponseHandler<T> responseHandler,
FutureCallback<T> callback,
long timeout,
TimeUnit timeUnit,
HttpUriRequest... requests)
Schedule multiple requests for execution with a timeout.
|
<T> List<Future<T>> |
FutureRequestExecutionService.executeMultiple(ResponseHandler<T> responseHandler,
HttpUriRequest... requests)
Schedule multiple requests for execution.
|
Copyright © 1999-2013 The Apache Software Foundation. All Rights Reserved.