Uses of Interface
org.eclipse.jetty.client.api.Response
Packages that use Response
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 in org.eclipse.jetty.client
Classes in org.eclipse.jetty.client that implement ResponseMethods in org.eclipse.jetty.client that return ResponseMethods in org.eclipse.jetty.client with parameters of type ResponseModifier and TypeMethodDescriptionbooleanbooleanInspects the givenrequestandresponseto detect whether this protocol handler should handle them.booleanbooleanbooleanbooleanprotected booleanUpgradeProtocolHandler.acceptHeaders(Request request, Response response) HttpRedirector.extractRedirectURI(Response response) Extracts and sanitizes (by making it absolute and escaping paths and query parameters) the redirect URI of the givenresponse.protected voidprotected voidFinds the first protocol handler thatacceptsthe given request and response.protected ProtocolHandlerHttpClient.findProtocolHandler(Request request, Response response) voidResponseNotifier.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) booleanHttpRedirector.isRedirect(Response response) voidResponseNotifier.notifyBeforeContent(Response response, ObjLongConsumer<Object> demand, List<Response.DemandedContentListener> contentListeners) voidResponseNotifier.notifyBegin(List<Response.ResponseListener> listeners, Response response) voidResponseNotifier.notifyContent(Response response, ObjLongConsumer<Object> demand, ByteBuffer buffer, Callback callback, List<Response.DemandedContentListener> contentListeners) voidResponseNotifier.notifyFailure(List<Response.ResponseListener> listeners, Response response, Throwable failure) booleanResponseNotifier.notifyHeader(List<Response.ResponseListener> listeners, Response response, HttpField field) voidResponseNotifier.notifyHeaders(List<Response.ResponseListener> listeners, Response response) voidResponseNotifier.notifySuccess(List<Response.ResponseListener> listeners, Response response) voidbooleanvoidRedirects the givenresponse, blocking until the redirect is complete.HttpRedirector.redirect(Request request, Response response, Response.CompleteListener listener) Redirects the givenresponseasynchronously.Constructors in org.eclipse.jetty.client with parameters of type ResponseModifierConstructorDescriptionHttpContentResponse(Response response, byte[] content, String mediaType, String encoding) HttpResponseException(String message, Response response) HttpResponseException(String message, Response response, Throwable cause)  - 
Uses of Response in org.eclipse.jetty.client.api
Subinterfaces of Response in org.eclipse.jetty.client.apiModifier and TypeInterfaceDescriptioninterfaceA specializedResponsethat can hold a limited content in memory.Methods in org.eclipse.jetty.client.api that return ResponseMethods in org.eclipse.jetty.client.api with parameters of type ResponseModifier and TypeMethodDescriptiondefault voidResponse.DemandedContentListener.onBeforeContent(Response response, LongConsumer demand) Callback method invoked before response content events.voidCallback method invoked when the response line containing HTTP version, HTTP status code and reason has been received and parsed.default voidvoidResponse.AsyncContentListener.onContent(Response response, ByteBuffer content, Callback callback) Callback method invoked when the response content has been received, parsed and there is demand.default voidResponse.AsyncContentListener.onContent(Response response, LongConsumer demand, ByteBuffer content, Callback callback) voidResponse.ContentListener.onContent(Response response, ByteBuffer content) Callback method invoked when the response content has been received, parsed and there is demand.default voidResponse.ContentListener.onContent(Response response, ByteBuffer content, Callback callback) voidResponse.DemandedContentListener.onContent(Response response, LongConsumer demand, ByteBuffer content, Callback callback) Callback method invoked when the response content has been received.default voidResponse.Listener.onContent(Response response, ByteBuffer content) voidCallback method invoked when the response has failed in the process of being receiveddefault voidbooleanCallback method invoked when a response header has been received and parsed, returning whether the header should be processed or not.default booleanvoidCallback method invoked when all the response headers have been received and parsed.default voiddefault voidvoidCallback method invoked when the whole response has been successfully received.Constructors in org.eclipse.jetty.client.api with parameters of type ResponseModifierConstructorDescription - 
Uses of Response in org.eclipse.jetty.client.util
Methods in org.eclipse.jetty.client.util that return ResponseModifier and TypeMethodDescriptionWaits for the given timeout for the response to be available, then returns it.Methods in org.eclipse.jetty.client.util with parameters of type ResponseModifier and TypeMethodDescriptionvoidBufferingResponseListener.onContent(Response response, ByteBuffer content) voidInputStreamResponseListener.onContent(Response response, ByteBuffer content, Callback callback) voidvoidvoidvoid - 
Uses of Response in org.eclipse.jetty.proxy
Methods in org.eclipse.jetty.proxy with parameters of type ResponseModifier and TypeMethodDescriptionprotected StringAbstractProxyServlet.filterServerResponseHeader(jakarta.servlet.http.HttpServletRequest clientRequest, Response serverResponse, String headerName, String headerValue) protected StringBalancerServlet.filterServerResponseHeader(jakarta.servlet.http.HttpServletRequest request, Response serverResponse, String headerName, String headerValue) protected AsyncMiddleManServlet.ProxyWriterAsyncMiddleManServlet.newProxyWriteListener(jakarta.servlet.http.HttpServletRequest clientRequest, Response proxyResponse) protected AsyncMiddleManServlet.ContentTransformerAsyncMiddleManServlet.newServerResponseContentTransformer(jakarta.servlet.http.HttpServletRequest clientRequest, jakarta.servlet.http.HttpServletResponse proxyResponse, Response serverResponse) protected AsyncProxyServlet.StreamWriterAsyncProxyServlet.newWriteListener(jakarta.servlet.http.HttpServletRequest request, Response proxyResponse) voidvoidvoidAsyncMiddleManServlet.ProxyResponseListener.onContent(Response serverResponse, ByteBuffer content, Callback callback) voidProxyServlet.ProxyResponseListener.onContent(Response proxyResponse, ByteBuffer content, Callback callback) voidvoidprotected voidAbstractProxyServlet.onProxyResponseFailure(jakarta.servlet.http.HttpServletRequest clientRequest, jakarta.servlet.http.HttpServletResponse proxyResponse, Response serverResponse, Throwable failure) protected voidAbstractProxyServlet.onProxyResponseSuccess(jakarta.servlet.http.HttpServletRequest clientRequest, jakarta.servlet.http.HttpServletResponse proxyResponse, Response serverResponse) protected voidAsyncProxyServlet.onResponseContent(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response, Response proxyResponse, byte[] buffer, int offset, int length, Callback callback) protected voidProxyServlet.onResponseContent(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response, Response proxyResponse, byte[] buffer, int offset, int length, Callback callback) protected voidAbstractProxyServlet.onServerResponseHeaders(jakarta.servlet.http.HttpServletRequest clientRequest, jakarta.servlet.http.HttpServletResponse proxyResponse, Response serverResponse) voidConstructors in org.eclipse.jetty.proxy with parameters of type ResponseModifierConstructorDescriptionprotectedProxyWriter(jakarta.servlet.http.HttpServletRequest clientRequest, Response serverResponse) protectedStreamWriter(jakarta.servlet.http.HttpServletRequest request, Response proxyResponse)