Uses of Interface
org.eclipse.jetty.client.api.Response.ResponseListener
Packages that use Response.ResponseListener
Package
Description
Jetty Client : Implementation and Core Classes
This package provides APIs, utility classes and an implementation of an asynchronous HTTP client.
Jetty Client : API Classes
Jetty Client : Utility Classes
-
Uses of Response.ResponseListener in org.eclipse.jetty.client
Classes in org.eclipse.jetty.client that implement Response.ResponseListenerModifier and TypeClassDescriptionprotected classclassA protocol handler that handles redirect status codes 301, 302, 303, 307 and 308.classDeprecated.Methods in org.eclipse.jetty.client with type parameters of type Response.ResponseListenerModifier and TypeMethodDescription<T extends Response.ResponseListener>
List<T>HttpContentResponse.getListeners(Class<T> listenerClass) <T extends Response.ResponseListener>
List<T>HttpResponse.getListeners(Class<T> type) Methods in org.eclipse.jetty.client that return types with arguments of type Response.ResponseListenerModifier and TypeMethodDescriptionHttpConversation.getResponseListeners()Returns the list of response listeners that needs to be notified of response events.HttpExchange.getResponseListeners()protected List<Response.ResponseListener>HttpRequest.getResponseListeners()Methods in org.eclipse.jetty.client with parameters of type Response.ResponseListenerModifier and TypeMethodDescriptionvoidHttpConversation.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.ResponseListenerModifier and TypeMethodDescriptionvoidResponseNotifier.forwardFailure(List<Response.ResponseListener> listeners, Response response, Throwable failure) voidResponseNotifier.forwardFailureComplete(List<Response.ResponseListener> listeners, Request request, Throwable requestFailure, Response response, Throwable responseFailure) voidResponseNotifier.forwardSuccess(List<Response.ResponseListener> listeners, Response response) voidResponseNotifier.forwardSuccessComplete(List<Response.ResponseListener> listeners, Request request, Response response) voidResponseNotifier.notifyBegin(List<Response.ResponseListener> listeners, Response response) voidResponseNotifier.notifyComplete(List<Response.ResponseListener> listeners, Result result) voidResponseNotifier.notifyFailure(List<Response.ResponseListener> listeners, Response response, Throwable failure) booleanResponseNotifier.notifyHeader(List<Response.ResponseListener> listeners, Response response, org.eclipse.jetty.http.HttpField field) voidResponseNotifier.notifyHeaders(List<Response.ResponseListener> listeners, Response response) voidResponseNotifier.notifySuccess(List<Response.ResponseListener> listeners, Response response) protected voidHttpClient.send(HttpRequest request, List<Response.ResponseListener> listeners) protected voidHttpDestination.send(HttpRequest request, List<Response.ResponseListener> listeners) Constructor parameters in org.eclipse.jetty.client with type arguments of type Response.ResponseListenerModifierConstructorDescriptionHttpExchange(HttpDestination destination, HttpRequest request, List<Response.ResponseListener> listeners) HttpResponse(Request request, List<Response.ResponseListener> listeners) -
Uses of Response.ResponseListener in org.eclipse.jetty.client.api
Subinterfaces of Response.ResponseListener in org.eclipse.jetty.client.apiModifier and TypeInterfaceDescriptionstatic interfaceAsynchronous listener for the response content events.static interfaceListener for the response begin event.static interfaceListener for the request and response completed event.static interfaceSynchronous listener for the response content events.static interfaceAsynchronous listener for the response content events.static interfaceListener for the response failure event.static interfaceListener for a response header event.static interfaceListener for the response headers event.static interfaceListener for all response events.static interfaceListener for the response succeeded event.Classes in org.eclipse.jetty.client.api that implement Response.ResponseListenerMethods in org.eclipse.jetty.client.api with type parameters of type Response.ResponseListenerModifier and TypeMethodDescription<T extends Response.ResponseListener>
List<T>Response.getListeners(Class<T> listenerClass) -
Uses of Response.ResponseListener in org.eclipse.jetty.client.util
Classes in org.eclipse.jetty.client.util that implement Response.ResponseListenerModifier and TypeClassDescriptionclassImplementation ofResponse.Listenerthat buffers the content up to a maximum length specified to the constructors.classABufferingResponseListenerthat is also aFuture, to allow applications to block (indefinitely or for a timeout) untilFutureResponseListener.onComplete(Result)is called, or toabortthe request/response conversation.classImplementation ofResponse.Listenerthat produces anInputStreamthat allows applications to read the response content.
CyclicTimeoutsinstead.