Uses of Interface
org.eclipse.jetty.client.api.Response.ResponseListener
-
Packages that use Response.ResponseListener 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 Classesorg.eclipse.jetty.client.util Jetty Client : Utility Classesorg.eclipse.jetty.proxy Jetty Proxy : Async Proxy Supportorg.eclipse.jetty.websocket.client Jetty WebSocket Client API -
-
Uses of Response.ResponseListener in org.eclipse.jetty.client
Classes in org.eclipse.jetty.client that implement Response.ResponseListener 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
Deprecated.Do not use it, useCyclicTimeouts
instead.Methods in org.eclipse.jetty.client with type parameters of type Response.ResponseListener Modifier and Type Method Description <T extends Response.ResponseListener>
java.util.List<T>HttpContentResponse. getListeners(java.lang.Class<T> listenerClass)
<T extends Response.ResponseListener>
java.util.List<T>HttpResponse. getListeners(java.lang.Class<T> type)
Methods in org.eclipse.jetty.client that return types with arguments of type Response.ResponseListener 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()
Methods in org.eclipse.jetty.client with parameters of type Response.ResponseListener 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.Method parameters in org.eclipse.jetty.client with type arguments of type Response.ResponseListener 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. notifyFailure(java.util.List<Response.ResponseListener> listeners, Response response, java.lang.Throwable failure)
boolean
ResponseNotifier. notifyHeader(java.util.List<Response.ResponseListener> listeners, Response response, 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 parameters in org.eclipse.jetty.client with type arguments of type Response.ResponseListener Constructor Description HttpExchange(HttpDestination destination, HttpRequest request, java.util.List<Response.ResponseListener> listeners)
HttpResponse(Request request, java.util.List<Response.ResponseListener> listeners)
-
Uses of Response.ResponseListener in org.eclipse.jetty.client.api
Subinterfaces of Response.ResponseListener in org.eclipse.jetty.client.api Modifier and Type Interface Description static interface
Response.AsyncContentListener
Asynchronous listener for the response content events.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
Synchronous listener for the response content events.static interface
Response.DemandedContentListener
Asynchronous 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.Classes in org.eclipse.jetty.client.api that implement Response.ResponseListener Modifier and Type Class Description static class
Response.Listener.Adapter
An empty implementation ofResponse.Listener
Methods in org.eclipse.jetty.client.api with type parameters of type Response.ResponseListener Modifier and Type Method Description <T extends Response.ResponseListener>
java.util.List<T>Response. getListeners(java.lang.Class<T> listenerClass)
-
Uses of Response.ResponseListener in org.eclipse.jetty.client.util
Classes in org.eclipse.jetty.client.util that implement Response.ResponseListener Modifier and Type Class Description class
BufferingResponseListener
Implementation ofResponse.Listener
that buffers the content up to a maximum length specified to the constructors.class
FutureResponseListener
ABufferingResponseListener
that is also aFuture
, to allow applications to block (indefinitely or for a timeout) untilFutureResponseListener.onComplete(Result)
is called, or toabort
the request/response conversation.class
InputStreamResponseListener
Implementation ofResponse.Listener
that produces anInputStream
that allows applications to read the response content. -
Uses of Response.ResponseListener in org.eclipse.jetty.proxy
Classes in org.eclipse.jetty.proxy that implement Response.ResponseListener Modifier and Type Class Description protected class
AsyncMiddleManServlet.ProxyResponseListener
protected class
ProxyServlet.ProxyResponseListener
-
Uses of Response.ResponseListener in org.eclipse.jetty.websocket.client
Classes in org.eclipse.jetty.websocket.client that implement Response.ResponseListener Modifier and Type Class Description class
WebSocketUpgradeRequest
-