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.PathResponseListener.PathResponse.response()Returns the value of theresponserecord component.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) 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 voidvoidAbstractResponseListener.onContent(Response response, ByteBuffer content) voidAbstractResponseListener.onContent(Response response, org.eclipse.jetty.io.Content.Chunk chunk, Runnable demander) voidInputStreamResponseListener.onContent(Response response, org.eclipse.jetty.io.Content.Chunk chunk, Runnable demander) voidPathResponseListener.onContent(Response response, ByteBuffer content) voidResponse.AsyncContentListener.onContent(Response response, org.eclipse.jetty.io.Content.Chunk chunk, Runnable demander) Callback method invoked when the response content has been received, parsed and there is demand.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.voidvoidvoidvoidvoidCallback 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 booleanvoidvoidvoidvoidCallback method invoked when all the response headers have been received and parsed.default voidvoidvoidvoidvoidvoiddefault 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) PathResponse(Response response, Path path) Creates an instance of aPathResponserecord class. -
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)