Package | Description |
---|---|
org.apache.http.client |
The API for client-side HTTP communication.
|
org.apache.http.impl.client |
Default implementations for interfaces in
org.apache.http.client . |
Modifier and Type | Class and Description |
---|---|
class |
HttpResponseException
Signals a non 2xx HTTP response.
|
Modifier and Type | Method and Description |
---|---|
HttpResponse |
HttpClient.execute(HttpHost target,
HttpRequest request)
Executes a request to the target using the default context.
|
HttpResponse |
HttpClient.execute(HttpHost target,
HttpRequest request,
HttpContext context)
Executes a request to the target using the given context.
|
<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.
|
HttpResponse |
HttpClient.execute(HttpUriRequest request)
Executes a request using the default context.
|
HttpResponse |
HttpClient.execute(HttpUriRequest request,
HttpContext context)
Executes a request using the given context.
|
<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.
|
T |
ResponseHandler.handleResponse(HttpResponse response)
Processes an
HttpResponse and returns some value
corresponding to that response. |
Modifier and Type | Method and Description |
---|---|
HttpResponse |
AbstractHttpClient.execute(HttpHost target,
HttpRequest request) |
HttpResponse |
DecompressingHttpClient.execute(HttpHost target,
HttpRequest request) |
HttpResponse |
AbstractHttpClient.execute(HttpHost target,
HttpRequest request,
HttpContext context) |
HttpResponse |
DecompressingHttpClient.execute(HttpHost target,
HttpRequest request,
HttpContext context) |
<T> T |
AbstractHttpClient.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 |
DecompressingHttpClient.execute(HttpHost target,
HttpRequest request,
ResponseHandler<? extends T> responseHandler) |
<T> T |
AbstractHttpClient.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 |
DecompressingHttpClient.execute(HttpHost target,
HttpRequest request,
ResponseHandler<? extends T> responseHandler,
HttpContext context) |
HttpResponse |
AbstractHttpClient.execute(HttpUriRequest request) |
HttpResponse |
DecompressingHttpClient.execute(HttpUriRequest request) |
HttpResponse |
AbstractHttpClient.execute(HttpUriRequest request,
HttpContext context)
Maps to
execute(target, request, context) . |
HttpResponse |
DecompressingHttpClient.execute(HttpUriRequest request,
HttpContext context) |
<T> T |
AbstractHttpClient.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 |
DecompressingHttpClient.execute(HttpUriRequest request,
ResponseHandler<? extends T> responseHandler) |
<T> T |
AbstractHttpClient.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 |
DecompressingHttpClient.execute(HttpUriRequest request,
ResponseHandler<? extends T> responseHandler,
HttpContext context) |
Copyright © 1999–2013 The Apache Software Foundation. All rights reserved.