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 |
---|---|
<T extends Response.ResponseListener> |
HttpResponse.getListeners(Class<T> type) |
<T extends Response.ResponseListener> |
HttpContentResponse.getListeners(Class<T> listenerClass) |
Modifier and Type | Method and Description |
---|---|
List<Response.ResponseListener> |
HttpExchange.getResponseListeners() |
List<Response.ResponseListener> |
HttpConversation.getResponseListeners() |
Modifier and Type | Method and Description |
---|---|
void |
ResponseNotifier.forwardFailure(List<Response.ResponseListener> listeners,
Response response,
Throwable failure) |
void |
ResponseNotifier.forwardFailureComplete(List<Response.ResponseListener> listeners,
Request request,
Throwable requestFailure,
Response response,
Throwable responseFailure) |
void |
ResponseNotifier.forwardSuccess(List<Response.ResponseListener> listeners,
Response response) |
void |
ResponseNotifier.forwardSuccessComplete(List<Response.ResponseListener> listeners,
Request request,
Response response) |
void |
ResponseNotifier.notifyBegin(List<Response.ResponseListener> listeners,
Response response) |
void |
ResponseNotifier.notifyComplete(List<Response.ResponseListener> listeners,
Result result) |
void |
ResponseNotifier.notifyContent(List<Response.ResponseListener> listeners,
Response response,
ByteBuffer buffer) |
void |
ResponseNotifier.notifyFailure(List<Response.ResponseListener> listeners,
Response response,
Throwable failure) |
void |
ResponseNotifier.notifyHeaders(List<Response.ResponseListener> listeners,
Response response) |
void |
ResponseNotifier.notifySuccess(List<Response.ResponseListener> listeners,
Response response) |
void |
HttpConnection.send(Request request,
List<Response.ResponseListener> listeners) |
protected void |
HttpClient.send(Request request,
List<Response.ResponseListener> listeners) |
void |
HttpDestination.send(Request request,
List<Response.ResponseListener> listeners) |
void |
HttpConversation.setResponseListeners(List<Response.ResponseListener> listeners) |
Constructor and Description |
---|
HttpExchange(HttpConversation conversation,
HttpConnection connection,
Request request,
List<Response.ResponseListener> listeners) |
HttpResponse(Request request,
List<Response.ResponseListener> listeners) |
Modifier and Type | Interface and Description |
---|---|
static interface |
Response.BeginListener |
static interface |
Response.CompleteListener |
static interface |
Response.ContentListener |
static interface |
Response.FailureListener |
static interface |
Response.HeadersListener |
static interface |
Response.Listener
Listener for response events
|
static interface |
Response.SuccessListener |
Modifier and Type | Class and Description |
---|---|
static class |
Response.Listener.Empty
An empty implementation of
Response.Listener |
Modifier and Type | Method and Description |
---|---|
<T extends Response.ResponseListener> |
Response.getListeners(Class<T> listenerClass) |
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 |
class |
TimedResponseListener |
Copyright © 1995-2012 Mort Bay Consulting. All Rights Reserved.