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(org.apache.http.HttpRequest request,
org.apache.http.HttpResponse response,
org.apache.http.protocol.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 |
---|---|
org.apache.http.HttpResponse |
HttpClient.execute(HttpUriRequest request)
Executes HTTP request using the default context.
|
org.apache.http.HttpResponse |
HttpClient.execute(HttpUriRequest request,
org.apache.http.protocol.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,
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 |
HttpDelete
HTTP DELETE method
|
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. |
class |
HttpTrace
HTTP TRACE method.
|
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 |
DefaultRedirectStrategy.getRedirect(org.apache.http.HttpRequest request,
org.apache.http.HttpResponse response,
org.apache.http.protocol.HttpContext context) |
Modifier and Type | Method and Description |
---|---|
org.apache.http.HttpResponse |
AutoRetryHttpClient.execute(HttpUriRequest request)
Deprecated.
|
org.apache.http.HttpResponse |
DecompressingHttpClient.execute(HttpUriRequest request)
Deprecated.
|
CloseableHttpResponse |
CloseableHttpClient.execute(HttpUriRequest request)
Executes HTTP request using the default context.
|
org.apache.http.HttpResponse |
AutoRetryHttpClient.execute(HttpUriRequest request,
org.apache.http.protocol.HttpContext context)
Deprecated.
|
org.apache.http.HttpResponse |
DecompressingHttpClient.execute(HttpUriRequest request,
org.apache.http.protocol.HttpContext context)
Deprecated.
|
CloseableHttpResponse |
CloseableHttpClient.execute(HttpUriRequest request,
org.apache.http.protocol.HttpContext context)
Executes HTTP request using the given context.
|
<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 |
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,
org.apache.http.protocol.HttpContext context)
Deprecated.
|
<T> T |
DecompressingHttpClient.execute(HttpUriRequest request,
ResponseHandler<? extends T> responseHandler,
org.apache.http.protocol.HttpContext context)
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.
|
Constructor and Description |
---|
HttpRequestFutureTask(HttpUriRequest request,
org.apache.http.impl.client.HttpRequestTaskCallable<V> httpCallable) |
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.