Uses of Interface
org.apache.hc.core5.http.HttpResponse
-
Packages that use HttpResponse Package Description org.apache.hc.core5.http Core HTTP transport component APIs.org.apache.hc.core5.http.impl Default implementations of core HTTP APIs.org.apache.hc.core5.http.impl.io Default implementation of HTTP/1.1 transport based on the classic (blocking) I/O model.org.apache.hc.core5.http.impl.nio Default implementation of HTTP/1.1 transport based on the asynchronous (non-blocking) I/O model.org.apache.hc.core5.http.io Core HTTP transport APIs based on the classic (blocking) I/O model.org.apache.hc.core5.http.io.support Support classes for the classic (blocking) I/O model.org.apache.hc.core5.http.message Core HTTP message components, message element parser and writer APIs and their default implementations.org.apache.hc.core5.http.nio Core HTTP transport APIs based on the asynchronous, event driven I/O model.org.apache.hc.core5.http.nio.support Support classes for the asynchronous I/O model.org.apache.hc.core5.http.nio.support.classic Support classes for the asynchronous I/O model that emulate behavior of the classic (blocking) I/O model.org.apache.hc.core5.http.protocol Core HTTP protocol interceptors.org.apache.hc.core5.http.support -
-
Uses of HttpResponse in org.apache.hc.core5.http
Classes in org.apache.hc.core5.http with type parameters of type HttpResponse Modifier and Type Interface Description interfaceHttpResponseFactory<T extends HttpResponse>A factory forHttpResponseobjects.Subinterfaces of HttpResponse in org.apache.hc.core5.http Modifier and Type Interface Description interfaceClassicHttpResponse'Classic'HttpResponsemessage that can encloseHttpEntity.Methods in org.apache.hc.core5.http with parameters of type HttpResponse Modifier and Type Method Description booleanConnectionReuseStrategy. keepAlive(HttpRequest request, HttpResponse response, HttpContext context)Decides whether a connection can be kept open after a request.voidHttpResponseInterceptor. process(HttpResponse response, EntityDetails entity, HttpContext context)Processes a response. -
Uses of HttpResponse in org.apache.hc.core5.http.impl
Methods in org.apache.hc.core5.http.impl with parameters of type HttpResponse Modifier and Type Method Description booleanDefaultConnectionReuseStrategy. keepAlive(HttpRequest request, HttpResponse response, HttpContext context)booleanNoConnectionReuseStrategy. keepAlive(HttpRequest request, HttpResponse response, HttpContext context)voidHttp1StreamListener. onResponseHead(HttpConnection connection, HttpResponse response) -
Uses of HttpResponse in org.apache.hc.core5.http.impl.io
Methods in org.apache.hc.core5.http.impl.io with parameters of type HttpResponse Modifier and Type Method Description protected HttpVersionDefaultHttpResponseWriter. protocolVersion(HttpResponse message)Determines the HTTP protocol version to be communicated to the opposite endpoint in the message header. -
Uses of HttpResponse in org.apache.hc.core5.http.impl.nio
Classes in org.apache.hc.core5.http.impl.nio with type parameters of type HttpResponse Modifier and Type Class Description classDefaultHttpResponseParser<T extends HttpResponse>DefaultNHttpMessageParserimplementation forHttpResponses.classDefaultHttpResponseWriter<T extends HttpResponse>DefaultNHttpMessageWriterimplementation forHttpResponses.Methods in org.apache.hc.core5.http.impl.nio that return HttpResponse Modifier and Type Method Description HttpResponseDefaultHttpResponseFactory. newHttpResponse(int status)HttpResponseDefaultHttpResponseFactory. newHttpResponse(int status, java.lang.String reasonPhrase)Methods in org.apache.hc.core5.http.impl.nio that return types with arguments of type HttpResponse Modifier and Type Method Description NHttpMessageParser<HttpResponse>DefaultHttpResponseParserFactory. create()NHttpMessageWriter<HttpResponse>DefaultHttpResponseWriterFactory. create()Methods in org.apache.hc.core5.http.impl.nio with parameters of type HttpResponse Modifier and Type Method Description voidAsyncClientExchangeHandlerDelegate. consumeInformation(HttpResponse response, HttpContext context)voidAsyncClientExchangeHandlerDelegate. consumeResponse(HttpResponse response, EntityDetails entityDetails, HttpContext context)protected booleanClientHttp1StreamDuplexer. handleIncomingMessage(HttpResponse response)protected booleanServerHttp1StreamDuplexer. handleOutgoingMessage(HttpResponse response) -
Uses of HttpResponse in org.apache.hc.core5.http.io
Methods in org.apache.hc.core5.http.io with parameters of type HttpResponse Modifier and Type Method Description voidHttpResponseInformationCallback. execute(HttpResponse response, HttpConnection connection, HttpContext context) -
Uses of HttpResponse in org.apache.hc.core5.http.io.support
Methods in org.apache.hc.core5.http.io.support with parameters of type HttpResponse Modifier and Type Method Description static ClassicResponseBuilderClassicResponseBuilder. copy(HttpResponse response)protected HttpEntityAbstractHttpServerAuthFilter. generateResponseContent(HttpResponse unauthorized)Generates response body for UNAUTHORIZED response.protected HttpEntityHttpServerExpectationFilter. generateResponseContent(HttpResponse expectationFailed)Generates response content entity for the final HTTP response with an error status representing the cause of expectation failure. -
Uses of HttpResponse in org.apache.hc.core5.http.message
Classes in org.apache.hc.core5.http.message that implement HttpResponse Modifier and Type Class Description classBasicClassicHttpResponseBasic implementation ofClassicHttpResponse.classBasicHttpResponseBasic implementation ofHttpResponse.classHttpResponseWrapperWraps anHttpResponse.Methods in org.apache.hc.core5.http.message with parameters of type HttpResponse Modifier and Type Method Description static booleanMessageSupport. canResponseHaveBody(java.lang.String method, HttpResponse response)static booleanMessageSupport. canResponseHaveBody(HttpResponse response)Constructors in org.apache.hc.core5.http.message with parameters of type HttpResponse Constructor Description HttpResponseWrapper(HttpResponse message)StatusLine(HttpResponse response) -
Uses of HttpResponse in org.apache.hc.core5.http.nio
Methods in org.apache.hc.core5.http.nio with parameters of type HttpResponse Modifier and Type Method Description voidAsyncClientExchangeHandler. consumeInformation(HttpResponse response, HttpContext context)Triggered to signal receipt of an intermediate (1xx) HTTP response.voidAsyncPushConsumer. consumePromise(HttpRequest promise, HttpResponse response, EntityDetails entityDetails, HttpContext context)Triggered to signal receipt of a request message head used as a promise and the corresponding pushed response.voidAsyncClientExchangeHandler. consumeResponse(HttpResponse response, EntityDetails entityDetails, HttpContext context)Triggered to signal receipt of a response message head.voidAsyncResponseConsumer. consumeResponse(HttpResponse response, EntityDetails entityDetails, HttpContext context, FutureCallback<T> resultCallback)Triggered to signal receipt of a response message head.voidAsyncResponseConsumer. informationResponse(HttpResponse response, HttpContext context)Triggered to signal receipt of an intermediate (1xx) HTTP response.voidAsyncFilterChain.ResponseTrigger. sendInformation(HttpResponse response)Sends an intermediate informational HTTP response to the client.voidAsyncServerRequestHandler.ResponseTrigger. sendInformation(HttpResponse response, HttpContext context)Sends an intermediate informational HTTP response to the client.voidResponseChannel. sendInformation(HttpResponse response, HttpContext context)Sends an intermediate informational HTTP response through this channel.voidResponseChannel. sendResponse(HttpResponse response, EntityDetails entityDetails, HttpContext context)Sends a final HTTP response through this channel.voidAsyncFilterChain.ResponseTrigger. submitResponse(HttpResponse response, AsyncEntityProducer entityProducer)Sends a final HTTP response to the client. -
Uses of HttpResponse in org.apache.hc.core5.http.nio.support
Methods in org.apache.hc.core5.http.nio.support that return types with arguments of type HttpResponse Modifier and Type Method Description AsyncClientPipeline.ResultStage<Message<HttpResponse,byte[]>>AsyncClientPipeline.ResponseContentStage. asByteArray()Configures the pipeline to process the incoming response content as a byte array.AsyncServerPipeline.RequestHandlingStage<I,Message<HttpResponse,byte[]>>AsyncServerPipeline.ResponseContentStage. asByteArray(ContentType contentType)Configures the pipeline to represent the response message content as byre array.AsyncClientPipeline.ResultStage<Message<HttpResponse,java.lang.String>>AsyncClientPipeline.ResponseContentStage. asString()Configures the pipeline to process the incoming response content as a String.AsyncServerPipeline.RequestHandlingStage<I,Message<HttpResponse,java.lang.String>>AsyncServerPipeline.ResponseContentStage. asString(ContentType contentType)Configures the pipeline to represent the response message content as a String.<T> AsyncClientPipeline.ResultStage<Message<HttpResponse,T>>AsyncClientPipeline.ResponseContentStage. consumeContent(Resolver<ContentType,Supplier<AsyncEntityConsumer<T>>> dataConsumerResolver)ConfiguresAsyncEntityConsumersupplier to be used by the pipeline to process the incoming response content stream.<O> AsyncServerPipeline.RequestHandlingStage<I,Message<HttpResponse,O>>AsyncServerPipeline.ResponseContentStage. produceContent(Resolver<O,AsyncEntityProducer> dataProducerResolver)ResolvesAsyncEntityProducerto be used by the pipeline to generate the outgoing response content stream based on the given response content object.Methods in org.apache.hc.core5.http.nio.support with parameters of type HttpResponse Modifier and Type Method Description protected abstract TAbstractAsyncResponseConsumer. buildResult(HttpResponse response, E entity, ContentType contentType)Triggered to generate object that represents a result of response message processing.voidAbstractClientExchangeHandler. consumeInformation(HttpResponse response, HttpContext httpContext)voidAbstractAsyncPushHandler. consumePromise(HttpRequest promise, HttpResponse response, EntityDetails entityDetails, HttpContext httpContext)voidAbstractAsyncResponseConsumer. consumeResponse(HttpResponse response, EntityDetails entityDetails, HttpContext httpContext, FutureCallback<T> resultCallback)voidAbstractClientExchangeHandler. consumeResponse(HttpResponse response, EntityDetails entityDetails, HttpContext httpContext)voidBasicResponseConsumer. consumeResponse(HttpResponse response, EntityDetails entityDetails, HttpContext httpContext, FutureCallback<Message<HttpResponse,T>> resultCallback)protected AsyncEntityProducerAbstractAsyncServerAuthFilter. generateResponseContent(HttpResponse unauthorized)Generates response body for UNAUTHORIZED response.protected AsyncEntityProducerAsyncServerExpectationFilter. generateResponseContent(HttpResponse expectationFailed)voidBasicResponseConsumer. informationResponse(HttpResponse response, HttpContext httpContext)protected abstract AsyncResponseConsumer<T>AbstractClientExchangeHandler. supplyConsumer(HttpResponse response, EntityDetails entityDetails, HttpContext context)Triggered to supply a response consumer to process the incoming response.protected AsyncResponseConsumer<T>BasicClientExchangeHandler. supplyConsumer(HttpResponse response, EntityDetails entityDetails, HttpContext context)Method parameters in org.apache.hc.core5.http.nio.support with type arguments of type HttpResponse Modifier and Type Method Description <T> AsyncClientPipeline.ResultStage<T>AsyncClientPipeline.ResponseContentStage. consume(HandlerResolver<HttpResponse,AsyncResponseConsumer<T>> responseConsumerResolver)ConfiguresAsyncResponseConsumerto be used by the pipeline to process the incoming response message stream.voidBasicResponseConsumer. consumeResponse(HttpResponse response, EntityDetails entityDetails, HttpContext httpContext, FutureCallback<Message<HttpResponse,T>> resultCallback)Constructors in org.apache.hc.core5.http.nio.support with parameters of type HttpResponse Constructor Description BasicPushProducer(HttpResponse response, AsyncEntityProducer dataProducer)BasicResponseProducer(HttpResponse response)BasicResponseProducer(HttpResponse response, java.lang.String message)BasicResponseProducer(HttpResponse response, java.lang.String message, ContentType contentType)BasicResponseProducer(HttpResponse response, AsyncEntityProducer dataProducer)ImmediateResponseExchangeHandler(HttpResponse response, java.lang.String message) -
Uses of HttpResponse in org.apache.hc.core5.http.nio.support.classic
Methods in org.apache.hc.core5.http.nio.support.classic with parameters of type HttpResponse Modifier and Type Method Description voidClassicToAsyncResponseConsumer. consumeResponse(HttpResponse asyncResponse, EntityDetails entityDetails, HttpContext context, FutureCallback<java.lang.Void> resultCallback)protected abstract voidAbstractClassicServerExchangeHandler. handle(HttpRequest request, java.io.InputStream requestStream, HttpResponse response, java.io.OutputStream responseStream, HttpContext context)Deprecated.Handles an incoming request optionally reading its entity content form the given input stream and generates a response optionally writing out its entity content into the given output stream.voidClassicToAsyncResponseConsumer. informationResponse(HttpResponse response, HttpContext context) -
Uses of HttpResponse in org.apache.hc.core5.http.protocol
Methods in org.apache.hc.core5.http.protocol that return HttpResponse Modifier and Type Method Description HttpResponseHttpCoreContext. getResponse()Represents current response message head.Methods in org.apache.hc.core5.http.protocol with parameters of type HttpResponse Modifier and Type Method Description voidDefaultHttpProcessor. process(HttpResponse response, EntityDetails entity, HttpContext context)voidResponseConformance. process(HttpResponse response, EntityDetails entity, HttpContext context)voidResponseConnControl. process(HttpResponse response, EntityDetails entity, HttpContext localContext)voidResponseContent. process(HttpResponse response, EntityDetails entity, HttpContext context)Processes the response (possibly updating or inserting) Content-Length and Transfer-Encoding headers.voidResponseDate. process(HttpResponse response, EntityDetails entity, HttpContext context)voidResponseServer. process(HttpResponse response, EntityDetails entity, HttpContext context)voidHttpCoreContext. setResponse(HttpResponse response) -
Uses of HttpResponse in org.apache.hc.core5.http.support
Methods in org.apache.hc.core5.http.support with parameters of type HttpResponse Modifier and Type Method Description static BasicResponseBuilderBasicResponseBuilder. copy(HttpResponse response)
-