Uses of Interface
org.apache.http.client.ResponseHandler
-
Packages that use ResponseHandler Package Description org.apache.http.client Client HTTP communication APIs.org.apache.http.client.fluent Simple facade APIs for HttpClient based on the concept of a fluent interface.org.apache.http.impl.client Default HTTP client implementation.org.apache.http.impl.client.cache This package contains a cache module that can be used for HTTP/1.1 client-side caching. -
-
Uses of ResponseHandler in org.apache.http.client
Methods in org.apache.http.client with parameters of type ResponseHandler Modifier and Type Method Description <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.<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. -
Uses of ResponseHandler in org.apache.http.client.fluent
Classes in org.apache.http.client.fluent that implement ResponseHandler Modifier and Type Class Description class
ContentResponseHandler
Fields in org.apache.http.client.fluent declared as ResponseHandler Modifier and Type Field Description private ResponseHandler<T>
Async.ExecRunnable. handler
Methods in org.apache.http.client.fluent with parameters of type ResponseHandler Modifier and Type Method Description <T> java.util.concurrent.Future<T>
Async. execute(Request request, ResponseHandler<T> handler)
<T> java.util.concurrent.Future<T>
Async. execute(Request request, ResponseHandler<T> handler, org.apache.http.concurrent.FutureCallback<T> callback)
<T> T
Response. handleResponse(ResponseHandler<T> handler)
Handles the response using the specifiedResponseHandler
Constructors in org.apache.http.client.fluent with parameters of type ResponseHandler Constructor Description ExecRunnable(org.apache.http.concurrent.BasicFuture<T> future, Request request, Executor executor, ResponseHandler<T> handler)
-
Uses of ResponseHandler in org.apache.http.impl.client
Classes in org.apache.http.impl.client that implement ResponseHandler Modifier and Type Class Description class
AbstractResponseHandler<T>
A genericResponseHandler
that works with the response entity for successful (2xx) responses.class
BasicResponseHandler
AResponseHandler
that returns the response body as a String for successful (2xx) responses.Fields in org.apache.http.impl.client declared as ResponseHandler Modifier and Type Field Description private ResponseHandler<V>
HttpRequestTaskCallable. responseHandler
Methods in org.apache.http.impl.client with parameters of type ResponseHandler Modifier and Type Method Description <T> T
AutoRetryHttpClient. execute(HttpUriRequest request, ResponseHandler<? extends T> responseHandler)
Deprecated.<T> T
AutoRetryHttpClient. execute(HttpUriRequest request, ResponseHandler<? extends T> responseHandler, org.apache.http.protocol.HttpContext context)
Deprecated.<T> T
AutoRetryHttpClient. execute(org.apache.http.HttpHost target, org.apache.http.HttpRequest request, ResponseHandler<? extends T> responseHandler)
Deprecated.<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
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
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.<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
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> T
DecompressingHttpClient. execute(HttpUriRequest request, ResponseHandler<? extends T> responseHandler)
Deprecated.<T> T
DecompressingHttpClient. execute(HttpUriRequest 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)
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> 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.Constructors in org.apache.http.impl.client with parameters of type ResponseHandler Constructor Description HttpRequestTaskCallable(HttpClient httpClient, HttpUriRequest request, org.apache.http.protocol.HttpContext context, ResponseHandler<V> responseHandler, org.apache.http.concurrent.FutureCallback<V> callback, FutureRequestExecutionMetrics metrics)
-
Uses of ResponseHandler in org.apache.http.impl.client.cache
Methods in org.apache.http.impl.client.cache with parameters of type ResponseHandler Modifier and Type Method Description <T> T
CachingHttpClient. execute(HttpUriRequest request, ResponseHandler<? extends T> responseHandler)
Deprecated.<T> T
CachingHttpClient. execute(HttpUriRequest request, ResponseHandler<? extends T> responseHandler, org.apache.http.protocol.HttpContext context)
Deprecated.<T> T
CachingHttpClient. execute(org.apache.http.HttpHost target, org.apache.http.HttpRequest request, ResponseHandler<? extends T> responseHandler)
Deprecated.<T> T
CachingHttpClient. execute(org.apache.http.HttpHost target, org.apache.http.HttpRequest request, ResponseHandler<? extends T> responseHandler, org.apache.http.protocol.HttpContext context)
Deprecated.private <T> T
CachingHttpClient. handleAndConsume(ResponseHandler<? extends T> responseHandler, org.apache.http.HttpResponse response)
Deprecated.
-