Uses of Interface
org.eclipse.jetty.client.Response.CompleteListener
Packages that use Response.CompleteListener
-
Uses of Response.CompleteListener in org.eclipse.jetty.client
Subinterfaces of Response.CompleteListener in org.eclipse.jetty.clientModifier and TypeInterfaceDescriptionstatic interfaceListener for all response events.Classes in org.eclipse.jetty.client that implement Response.CompleteListenerModifier and TypeClassDescriptionclassclassImplementation ofResponse.Listenerthat buffers the response content by copying it up to a maximum length specified to the constructors.classARetainingResponseListenerthat sends aRequestand returns aCompletableFuturethat is completed whenCompletableResponseListener.onComplete(Result)is called.protected classclassImplementation ofResponse.Listenerthat produces anInputStreamthat allows applications to read the response content.classImplementation ofResponse.ContentListenerthat saves the response content to a filePath, likecurl <url> -o file.bindoes.classA protocol handler that handles redirect status codes 301, 302, 303, 307 and 308.classImplementation ofResponse.Listenerthat retains the response content without copying it, up to a configurable number of bytes.Methods in org.eclipse.jetty.client with parameters of type Response.CompleteListenerModifier and TypeMethodDescriptionRequest.onComplete(Response.CompleteListener listener) HttpRedirector.redirect(Request request, Response response, Response.CompleteListener listener) Redirects the givenresponseasynchronously.voidConnection.send(Request request, Response.CompleteListener listener) Sends a request with an associated response listener.voidDestination.send(Request request, Response.CompleteListener listener) Sends the given request to this destination.voidRequest.send(Response.CompleteListener listener) Sends this request and asynchronously notifies the given listener for response events.Method parameters in org.eclipse.jetty.client with type arguments of type Response.CompleteListenerModifier and TypeMethodDescriptionRequest.onPush(BiFunction<Request, Request, Response.CompleteListener> pushHandler) Sets a handler for pushed resources. -
Uses of Response.CompleteListener in org.eclipse.jetty.client.transport
Methods in org.eclipse.jetty.client.transport that return types with arguments of type Response.CompleteListenerMethods in org.eclipse.jetty.client.transport with parameters of type Response.CompleteListenerModifier and TypeMethodDescriptionbooleanResponseListeners.addCompleteListener(Response.CompleteListener listener, boolean includeOtherEvents) HttpRequest.onComplete(Response.CompleteListener listener) voidHttpConnection.send(Request request, Response.CompleteListener listener) voidHttpDestination.send(Request request, Response.CompleteListener listener) voidHttpRequest.send(Response.CompleteListener listener) Method parameters in org.eclipse.jetty.client.transport with type arguments of type Response.CompleteListenerModifier and TypeMethodDescriptionHttpRequest.onPush(BiFunction<Request, Request, Response.CompleteListener> pushHandler)