Uses of Interface
org.eclipse.jetty.client.api.Response.DemandedContentListener
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
Jetty Proxy : Async Proxy Support
-
Uses of Response.DemandedContentListener in org.eclipse.jetty.client
Modifier and TypeClassDescriptionprotected class
class
A protocol handler that handles redirect status codes 301, 302, 303, 307 and 308.Modifier and TypeMethodDescriptionHttpRequest.onResponseContentDemanded
(Response.DemandedContentListener listener) Modifier and TypeMethodDescriptionvoid
ResponseNotifier.notifyBeforeContent
(Response response, ObjLongConsumer<Object> demand, List<Response.DemandedContentListener> contentListeners) void
ResponseNotifier.notifyContent
(Response response, ObjLongConsumer<Object> demand, ByteBuffer buffer, Callback callback, List<Response.DemandedContentListener> contentListeners) -
Uses of Response.DemandedContentListener in org.eclipse.jetty.client.api
Modifier and TypeInterfaceDescriptionstatic interface
Asynchronous listener for the response content events.static interface
Synchronous listener for the response content events.static interface
Listener for all response events.Modifier and TypeMethodDescriptionRequest.onResponseContentDemanded
(Response.DemandedContentListener listener) -
Uses of Response.DemandedContentListener in org.eclipse.jetty.client.util
Modifier and TypeClassDescriptionclass
Implementation ofResponse.Listener
that buffers the content up to a maximum length specified to the constructors.class
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
Implementation ofResponse.Listener
that produces anInputStream
that allows applications to read the response content. -
Uses of Response.DemandedContentListener in org.eclipse.jetty.proxy
Modifier and TypeClassDescriptionprotected class
protected class