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 |
RedirectProtocolHandler |
Modifier and Type | Method and Description |
---|---|
Response.Listener |
RedirectProtocolHandler.getResponseListener() |
Response.Listener |
ProtocolHandler.getResponseListener() |
Response.Listener |
ContinueProtocolHandler.getResponseListener() |
Response.Listener |
AuthenticationProtocolHandler.getResponseListener() |
Response.Listener |
HttpResponse.listener() |
Response.Listener |
HttpExchange.listener() |
Response.Listener |
HttpConversation.listener() |
Response.Listener |
HttpContentResponse.listener() |
Modifier and Type | Method and Description |
---|---|
void |
ResponseNotifier.forwardFailure(Response.Listener listener,
Response response,
Throwable failure) |
void |
ResponseNotifier.forwardFailureComplete(Response.Listener listener,
Request request,
Throwable requestFailure,
Response response,
Throwable responseFailure) |
void |
ResponseNotifier.forwardSuccess(Response.Listener listener,
Response response) |
void |
ResponseNotifier.forwardSuccessComplete(Response.Listener listener,
Request request,
Response response) |
void |
HttpConversation.listener(Response.Listener listener) |
void |
ResponseNotifier.notifyBegin(Response.Listener listener,
Response response) |
void |
ResponseNotifier.notifyComplete(Response.Listener listener,
Result result) |
void |
ResponseNotifier.notifyContent(Response.Listener listener,
Response response,
ByteBuffer buffer) |
void |
ResponseNotifier.notifyFailure(Response.Listener listener,
Response response,
Throwable failure) |
void |
ResponseNotifier.notifyHeaders(Response.Listener listener,
Response response) |
void |
ResponseNotifier.notifySuccess(Response.Listener listener,
Response response) |
void |
HttpDestination.send(Request request,
Response.Listener listener) |
void |
HttpConnection.send(Request request,
Response.Listener listener) |
protected void |
HttpClient.send(Request request,
Response.Listener listener) |
void |
HttpRequest.send(Response.Listener listener) |
Constructor and Description |
---|
HttpExchange(HttpConversation conversation,
HttpConnection connection,
Request request,
Response.Listener listener) |
HttpResponse(HttpExchange exchange,
Response.Listener listener) |
Modifier and Type | Class and Description |
---|---|
static class |
Response.Listener.Empty
An empty implementation of
Response.Listener |
Modifier and Type | Method and Description |
---|---|
Response.Listener |
Response.listener() |
Modifier and Type | Method and Description |
---|---|
void |
Connection.send(Request request,
Response.Listener listener)
Sends a request with an associated response listener.
|
void |
Request.send(Response.Listener listener)
Sends this request and asynchronously notifies the given listener for response events.
|
Modifier and Type | Class and Description |
---|---|
class |
BlockingResponseListener |
class |
BufferingResponseListener
Implementation of
Response.Listener that buffers the content up to a maximum length
specified to the constructors. |
class |
InputStreamResponseListener |
Copyright © 1995-2012 Mort Bay Consulting. All Rights Reserved.