| Package | Description |
|---|---|
| org.eclipse.jetty.client |
This package provides APIs, utility classes and implementation class of an asynchronous HTTP client
The core class is
HttpClient, which acts as a central configuration object (for example
for idle timeouts, max connections per domain, etc.) and as a factory for Request objects. |
| org.eclipse.jetty.client.api | |
| org.eclipse.jetty.client.util |
| Modifier and Type | Class and Description |
|---|---|
class |
HttpContentResponse |
| Modifier and Type | Method and Description |
|---|---|
Future<ContentResponse> |
HttpClient.GET(String uri) |
Future<ContentResponse> |
HttpClient.GET(URI uri) |
Future<ContentResponse> |
HttpRequest.send() |
| Modifier and Type | Method and Description |
|---|---|
Future<ContentResponse> |
Request.send()
Sends this request and returns a
Future that can be used to wait for the
request and the response to be completed (either with a success or a failure). |
| Modifier and Type | Method and Description |
|---|---|
Authentication.Result |
Authentication.authenticate(Request request,
ContentResponse response,
String wwwAuthenticate,
Attributes context)
Executes the authentication mechanism for the given request, returning a
Authentication.Result that can be
used to actually authenticate the request via Authentication.Result.apply(Request). |
| Modifier and Type | Method and Description |
|---|---|
ContentResponse |
BlockingResponseListener.get() |
ContentResponse |
BlockingResponseListener.get(long timeout,
TimeUnit unit) |
| Modifier and Type | Method and Description |
|---|---|
Authentication.Result |
DigestAuthentication.authenticate(Request request,
ContentResponse response,
String wwwAuthenticate,
Attributes context) |
Authentication.Result |
BasicAuthentication.authenticate(Request request,
ContentResponse response,
String wwwAuthenticate,
Attributes context) |
Copyright © 1995-2012 Mort Bay Consulting. All Rights Reserved.