Package | Description |
---|---|
org.apache.http.client |
Client HTTP communication APIs.
|
org.apache.http.client.methods |
Standard HTTP method implementations.
|
org.apache.http.impl.client |
Default HTTP client implementation.
|
Modifier and Type | Method and Description |
---|---|
HttpUriRequest |
RedirectStrategy.getRedirect(HttpRequest request,
HttpResponse response,
HttpContext context)
Determines the redirect location given the response from the target
server and the current request execution context and generates a new
request to be sent to the location.
|
Modifier and Type | Method and Description |
---|---|
HttpResponse |
HttpClient.execute(HttpUriRequest request)
Executes HTTP request using the default context.
|
HttpResponse |
HttpClient.execute(HttpUriRequest request,
HttpContext context)
Executes HTTP request using the given context.
|
<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,
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 |
HttpDelete
HTTP DELETE method
The HTTP DELETE method is defined in section 9.7 of
RFC2616:
The DELETE method requests that the origin server delete the resource
identified by the Request-URI. [...]
|
class |
HttpEntityEnclosingRequestBase
Basic implementation of an entity enclosing HTTP request
that can be modified
|
class |
HttpGet
HTTP GET method.
|
class |
HttpHead
HTTP HEAD method.
|
class |
HttpOptions
HTTP OPTIONS method.
|
class |
HttpPatch
HTTP PATCH method.
|
class |
HttpPost
HTTP POST method.
|
class |
HttpPut
HTTP PUT method.
|
class |
HttpRequestBase
Base implementation of
HttpUriRequest . |
class |
HttpRequestWrapper
A wrapper class for
HttpRequest that can be used to change properties of the current
request without modifying the original object. |
(package private) static class |
HttpRequestWrapper.HttpEntityEnclosingRequestWrapper |
class |
HttpTrace
HTTP TRACE method.
|
(package private) static class |
RequestBuilder.InternalEntityEclosingRequest |
(package private) static class |
RequestBuilder.InternalRequest |
Modifier and Type | Method and Description |
---|---|
HttpUriRequest |
RequestBuilder.build() |
Modifier and Type | Class and Description |
---|---|
class |
EntityEnclosingRequestWrapper
Deprecated.
(4.3) do not use.
|
class |
RequestWrapper
Deprecated.
(4.3) do not use.
|
Modifier and Type | Method and Description |
---|---|
HttpUriRequest |
DefaultRedirectStrategyAdaptor.getRedirect(HttpRequest request,
HttpResponse response,
HttpContext context)
Deprecated.
|
HttpUriRequest |
DefaultRedirectStrategy.getRedirect(HttpRequest request,
HttpResponse response,
HttpContext context) |
Modifier and Type | Method and Description |
---|---|
HttpResponse |
AutoRetryHttpClient.execute(HttpUriRequest request)
Deprecated.
|
HttpResponse |
DecompressingHttpClient.execute(HttpUriRequest request)
Deprecated.
|
CloseableHttpResponse |
CloseableHttpClient.execute(HttpUriRequest request)
Executes HTTP request using the default context.
|
HttpResponse |
AutoRetryHttpClient.execute(HttpUriRequest request,
HttpContext context)
Deprecated.
|
HttpResponse |
DecompressingHttpClient.execute(HttpUriRequest request,
HttpContext context)
Deprecated.
|
CloseableHttpResponse |
CloseableHttpClient.execute(HttpUriRequest request,
HttpContext context)
Executes HTTP request using the given context.
|
<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 |
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)
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> 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.
|
(package private) HttpHost |
DecompressingHttpClient.getHttpHost(HttpUriRequest request)
Deprecated.
|
Constructor and Description |
---|
HttpRequestFutureTask(HttpUriRequest request,
HttpRequestTaskCallable<V> httpCallable) |
HttpRequestTaskCallable(HttpClient httpClient,
HttpUriRequest request,
HttpContext context,
ResponseHandler<V> responseHandler,
FutureCallback<V> callback,
FutureRequestExecutionMetrics metrics) |