| Package | Description |
|---|---|
| org.eclipse.jetty.client |
Jetty Client : Implementation and Core Classes
This package provides APIs, utility classes and an implementation of an asynchronous HTTP client.
|
| org.eclipse.jetty.client.api |
Jetty Client : API Classes
|
| org.eclipse.jetty.client.util |
Jetty Client : Utility Classes
|
| Modifier and Type | Class | Description |
|---|---|---|
protected class |
ContinueProtocolHandler.ContinueListener |
|
class |
RedirectProtocolHandler |
A protocol handler that handles redirect status codes 301, 302, 303, 307 and 308.
|
class |
TimeoutCompleteListener |
| Modifier and Type | Method | Description |
|---|---|---|
<T extends Response.ResponseListener> |
HttpContentResponse.getListeners(java.lang.Class<T> listenerClass) |
|
<T extends Response.ResponseListener> |
HttpResponse.getListeners(java.lang.Class<T> type) |
| Modifier and Type | Method | Description |
|---|---|---|
java.util.List<Response.ResponseListener> |
HttpConversation.getResponseListeners() |
Returns the list of response listeners that needs to be notified of response events.
|
java.util.List<Response.ResponseListener> |
HttpExchange.getResponseListeners() |
|
protected java.util.List<Response.ResponseListener> |
HttpRequest.getResponseListeners() |
| Modifier and Type | Method | Description |
|---|---|---|
void |
HttpConversation.updateResponseListeners(Response.ResponseListener overrideListener) |
Requests to update the response listener, eventually using the given override response listener,
that must be notified instead of the first exchange response listeners.
|
| Modifier and Type | Method | Description |
|---|---|---|
void |
ResponseNotifier.forwardFailure(java.util.List<Response.ResponseListener> listeners,
Response response,
java.lang.Throwable failure) |
|
void |
ResponseNotifier.forwardFailureComplete(java.util.List<Response.ResponseListener> listeners,
Request request,
java.lang.Throwable requestFailure,
Response response,
java.lang.Throwable responseFailure) |
|
void |
ResponseNotifier.forwardSuccess(java.util.List<Response.ResponseListener> listeners,
Response response) |
|
void |
ResponseNotifier.forwardSuccessComplete(java.util.List<Response.ResponseListener> listeners,
Request request,
Response response) |
|
void |
ResponseNotifier.notifyBegin(java.util.List<Response.ResponseListener> listeners,
Response response) |
|
void |
ResponseNotifier.notifyComplete(java.util.List<Response.ResponseListener> listeners,
Result result) |
|
void |
ResponseNotifier.notifyContent(java.util.List<Response.ResponseListener> listeners,
Response response,
java.nio.ByteBuffer buffer,
org.eclipse.jetty.util.Callback callback) |
|
void |
ResponseNotifier.notifyFailure(java.util.List<Response.ResponseListener> listeners,
Response response,
java.lang.Throwable failure) |
|
boolean |
ResponseNotifier.notifyHeader(java.util.List<Response.ResponseListener> listeners,
Response response,
org.eclipse.jetty.http.HttpField field) |
|
void |
ResponseNotifier.notifyHeaders(java.util.List<Response.ResponseListener> listeners,
Response response) |
|
void |
ResponseNotifier.notifySuccess(java.util.List<Response.ResponseListener> listeners,
Response response) |
|
protected void |
HttpClient.send(HttpRequest request,
java.util.List<Response.ResponseListener> listeners) |
|
protected void |
HttpDestination.send(HttpRequest request,
java.util.List<Response.ResponseListener> listeners) |
| Constructor | Description |
|---|---|
HttpExchange(HttpDestination destination,
HttpRequest request,
java.util.List<Response.ResponseListener> listeners) |
|
HttpResponse(Request request,
java.util.List<Response.ResponseListener> listeners) |
| Modifier and Type | Interface | Description |
|---|---|---|
static interface |
Response.AsyncContentListener |
|
static interface |
Response.BeginListener |
Listener for the response begin event.
|
static interface |
Response.CompleteListener |
Listener for the request and response completed event.
|
static interface |
Response.ContentListener |
Listener for the response content events.
|
static interface |
Response.FailureListener |
Listener for the response failure event.
|
static interface |
Response.HeaderListener |
Listener for a response header event.
|
static interface |
Response.HeadersListener |
Listener for the response headers event.
|
static interface |
Response.Listener |
Listener for all response events.
|
static interface |
Response.SuccessListener |
Listener for the response succeeded event.
|
| Modifier and Type | Class | Description |
|---|---|---|
static class |
Response.Listener.Adapter |
An empty implementation of
Response.Listener |
| Modifier and Type | Method | Description |
|---|---|---|
<T extends Response.ResponseListener> |
Response.getListeners(java.lang.Class<T> listenerClass) |
| Modifier and Type | Class | Description |
|---|---|---|
class |
BufferingResponseListener |
Implementation of
Response.Listener that buffers the content up to a maximum length
specified to the constructors. |
class |
FutureResponseListener |
A
BufferingResponseListener that is also a Future, to allow applications
to block (indefinitely or for a timeout) until FutureResponseListener.onComplete(Result) is called,
or to abort the request/response conversation. |
class |
InputStreamResponseListener |
Implementation of
Response.Listener that produces an InputStream
that allows applications to read the response content. |
Copyright © 1995–2018 Webtide. All rights reserved.