Package | Description |
---|---|
org.apache.http.client |
The API for client-side HTTP communication.
|
org.apache.http.client.fluent | |
org.apache.http.impl.client |
Default implementations for interfaces in
org.apache.http.client . |
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(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 | Method and Description |
---|---|
<T> Future<T> |
Async.execute(Request request,
ResponseHandler<T> handler) |
<T> Future<T> |
Async.execute(Request request,
ResponseHandler<T> handler,
FutureCallback<T> callback) |
<T> T |
Response.handleResponse(ResponseHandler<T> handler)
Handles the response using the specified
ResponseHandler |
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.
|
Modifier and Type | Method and Description |
---|---|
<T> T |
CachingHttpClient.execute(HttpHost target,
HttpRequest request,
ResponseHandler<? extends T> responseHandler)
Deprecated.
|
<T> T |
CachingHttpClient.execute(HttpHost target,
HttpRequest request,
ResponseHandler<? extends T> responseHandler,
HttpContext context)
Deprecated.
|
<T> T |
CachingHttpClient.execute(HttpUriRequest request,
ResponseHandler<? extends T> responseHandler)
Deprecated.
|
<T> T |
CachingHttpClient.execute(HttpUriRequest request,
ResponseHandler<? extends T> responseHandler,
HttpContext context)
Deprecated.
|
Copyright © 1999-2013 The Apache Software Foundation. All Rights Reserved.