Package | Description |
---|---|
org.apache.http.client |
Client HTTP communication APIs.
|
org.apache.http.impl.client |
Default HTTP client implementation.
|
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 |
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 |
AutoRetryHttpClient.execute(org.apache.http.HttpHost target,
org.apache.http.HttpRequest request,
ResponseHandler<? extends T> responseHandler)
Deprecated.
|
<T> T |
DecompressingHttpClient.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)
Executes a request using the default context and processes the
response using the given response handler.
|
<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> 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 |
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> 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.
|
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.