Uses of Interface
org.eclipse.jetty.client.Response.CompleteListener
Package
Description
Jetty Proxy : Async Proxy Support
-
Uses of Response.CompleteListener in org.eclipse.jetty.client
Modifier and TypeInterfaceDescriptionstatic interface
Listener for all response events.Modifier and TypeClassDescriptionclass
Implementation ofResponse.Listener
that buffers the content up to a maximum length specified to the constructors.class
ABufferingResponseListener
that sends aRequest
and returns aCompletableFuture
that is completed whenCompletableResponseListener.onComplete(Result)
is called.protected class
class
Deprecated.class
Implementation ofResponse.Listener
that produces anInputStream
that allows applications to read the response content.class
Implementation ofResponse.ContentListener
that saves the response content to a filePath
, likecurl <url> -o file.bin
does.class
A protocol handler that handles redirect status codes 301, 302, 303, 307 and 308.Modifier and TypeMethodDescriptionRequest.onComplete
(Response.CompleteListener listener) HttpRedirector.redirect
(Request request, Response response, Response.CompleteListener listener) Redirects the givenresponse
asynchronously.void
Connection.send
(Request request, Response.CompleteListener listener) Sends a request with an associated response listener.void
Destination.send
(Request request, Response.CompleteListener listener) Sends the given request to this destination.void
Request.send
(Response.CompleteListener listener) Sends this request and asynchronously notifies the given listener for response events.Modifier 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
Modifier and TypeMethodDescriptionboolean
ResponseListeners.addCompleteListener
(Response.CompleteListener listener, boolean includeOtherEvents) HttpRequest.onComplete
(Response.CompleteListener listener) void
HttpConnection.send
(Request request, Response.CompleteListener listener) void
HttpDestination.send
(Request request, Response.CompleteListener listener) void
HttpRequest.send
(Response.CompleteListener listener) Modifier and TypeMethodDescriptionHttpRequest.onPush
(BiFunction<Request, Request, Response.CompleteListener> pushHandler) -
Uses of Response.CompleteListener in org.eclipse.jetty.client.transport.internal
Modifier and TypeMethodDescriptionvoid
HttpConnectionOverHTTP.send
(Request request, Response.CompleteListener listener) -
Uses of Response.CompleteListener in org.eclipse.jetty.ee10.proxy
Modifier and TypeClassDescriptionprotected class
protected class
Modifier and TypeMethodDescriptionprotected abstract Response.CompleteListener
AbstractProxyServlet.newProxyResponseListener
(jakarta.servlet.http.HttpServletRequest clientRequest, jakarta.servlet.http.HttpServletResponse proxyResponse) protected Response.CompleteListener
AsyncMiddleManServlet.newProxyResponseListener
(jakarta.servlet.http.HttpServletRequest clientRequest, jakarta.servlet.http.HttpServletResponse proxyResponse) -
Uses of Response.CompleteListener in org.eclipse.jetty.ee10.websocket.jakarta.client.internal
-
Uses of Response.CompleteListener in org.eclipse.jetty.fcgi.client.transport.internal
Modifier and TypeMethodDescriptionvoid
HttpConnectionOverFCGI.send
(Request request, Response.CompleteListener listener) -
Uses of Response.CompleteListener in org.eclipse.jetty.proxy
Modifier and TypeMethodDescriptionprotected Response.CompleteListener
ProxyHandler.newServerToProxyResponseListener
(Request clientToProxyRequest, Request proxyToServerRequest, Response proxyToClientResponse, Callback proxyToClientCallback) -
Uses of Response.CompleteListener in org.eclipse.jetty.websocket.client.internal
-
Uses of Response.CompleteListener in org.eclipse.jetty.websocket.core.client
Modifier and TypeMethodDescriptionvoid
CoreClientUpgradeRequest.send
(Response.CompleteListener listener)
CompletableResponseListener
instead