Uses of Interface
org.eclipse.jetty.client.Response
Packages that use Response
-
Uses of Response in org.eclipse.jetty.client
Subinterfaces of Response in org.eclipse.jetty.clientModifier and TypeInterfaceDescriptioninterfaceA specializedResponsethat can hold a limited content in memory.Methods in org.eclipse.jetty.client that return ResponseModifier and TypeMethodDescriptionWaits for the given timeout for the response to be available, then returns it.HttpResponseException.getResponse()Result.getResponse()Get the response object.Methods in org.eclipse.jetty.client with parameters of type ResponseModifier and TypeMethodDescriptionbooleanbooleanbooleanbooleanInspects the givenrequestandresponseto detect whether this protocol handler should handle them.booleanbooleanbooleanbooleanprotected booleanUpgradeProtocolHandler.acceptHeaders(Request request, Response response) default voidContentDecoder.afterDecoding(Response response) Processes the exchange after the response content has been decoded.voidGZIPContentDecoder.afterDecoding(Response response) default voidContentDecoder.beforeDecoding(Response response) Processes the response just before the decoding of the response content.voidGZIPContentDecoder.beforeDecoding(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.HttpClient.findProtocolHandler(Request request, Response response) static ContentResponsebooleanHttpRedirector.isRedirect(Response response) voidCallback method invoked when the response line containing HTTP version, HTTP status code and reason has been received and parsed.default voidvoidBufferingResponseListener.onContent(Response response, ByteBuffer content) voidInputStreamResponseListener.onContent(Response response, org.eclipse.jetty.io.Content.Chunk chunk, Runnable demander) voidResponse.AsyncContentListener.onContent(Response response, org.eclipse.jetty.io.Content.Chunk chunk, Runnable demander) 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, org.eclipse.jetty.io.Content.Chunk chunk, Runnable demander) default voidResponse.Listener.onContent(Response response, ByteBuffer content) default voidResponse.AsyncContentListener.onContentSource(Response response, org.eclipse.jetty.io.Content.Source contentSource) voidResponse.ContentSourceListener.onContentSource(Response response, org.eclipse.jetty.io.Content.Source contentSource) Callback method invoked when all the response headers have been received and parsed.voidvoidvoidCallback method invoked when the response has failed in the process of being receiveddefault voidbooleanbooleanCallback method invoked when a response header has been received and parsed, returning whether the header should be processed or not.default booleanvoidvoidvoidCallback method invoked when all the response headers have been received and parsed.default voidvoidvoidvoiddefault voidvoidCallback method invoked when the whole response has been successfully received.Redirects the givenresponse, blocking until the redirect is complete.HttpRedirector.redirect(Request request, Response response, Response.CompleteListener listener) Redirects the givenresponseasynchronously.voidHttpUpgrader.upgrade(Response response, org.eclipse.jetty.io.EndPoint endPoint, org.eclipse.jetty.util.Callback callback) Upgrades the givenendPointto a different protocol.Constructors in org.eclipse.jetty.client with parameters of type ResponseModifierConstructorDescriptionHttpResponseException(String message, Response response) HttpResponseException(String message, Response response, Throwable cause) -
Uses of Response in org.eclipse.jetty.client.transport
Classes in org.eclipse.jetty.client.transport that implement ResponseMethods in org.eclipse.jetty.client.transport with parameters of type ResponseModifier and TypeMethodDescriptionvoidResponseListeners.emitFailure(Response response, Throwable failure) voidResponseListeners.emitSuccess(Response response) voidResponseListeners.notifyBegin(Response response) voidResponseListeners.notifyContentSource(Response response, org.eclipse.jetty.io.Content.Source contentSource) voidResponseListeners.notifyFailure(Response response, Throwable failure) booleanResponseListeners.notifyHeader(Response response, org.eclipse.jetty.http.HttpField field) voidResponseListeners.notifyHeaders(Response response) voidResponseListeners.notifySuccess(Response response)