Uses of Class
org.apache.hc.core5.http.Message
Packages that use Message
Package
Description
Core HTTP transport component APIs.
Support classes for the asynchronous I/O model.
-
Uses of Message in org.apache.hc.core5.http
Methods in org.apache.hc.core5.http that return MessageModifier and TypeMethodDescriptionstatic <H extends MessageHeaders,B>
Message<H,B> Create a new message with the given head and error.static <H extends MessageHeaders,B>
Message<H,B> Message.of(H head, B body) Create a new message with the given head and body, and no error. -
Uses of Message in org.apache.hc.core5.http.nio.support
Methods in org.apache.hc.core5.http.nio.support that return types with arguments of type MessageModifier and TypeMethodDescriptionAsyncClientPipeline.ResponseContentStage.asByteArray()Configures the pipeline to process the incoming response content as a byte array.AsyncServerPipeline.RequestContentStage.asByteArray()Configures the pipeline to process the incoming request content as a byte array.AsyncServerPipeline.ResponseContentStage.asByteArray(ContentType contentType) Configures the pipeline to represent the response message content as byre array.AsyncClientPipeline.ResponseContentStage.asString()Configures the pipeline to process the incoming response content as a String.AsyncServerPipeline.RequestContentStage.asString()Configures the pipeline to process the incoming request content as a String.AsyncServerPipeline.ResponseContentStage.asString(ContentType contentType) Configures the pipeline to represent the response message content as a String.AsyncClientPipeline.ResponseContentStage.consumeContent(Resolver<ContentType, Supplier<AsyncEntityConsumer<T>>> dataConsumerResolver) ConfiguresAsyncEntityConsumersupplier to be used by the pipeline to process the incoming response content stream.AsyncServerPipeline.RequestContentStage.consumeContent(Resolver<ContentType, Supplier<AsyncEntityConsumer<T>>> dataConsumerResolver) ResolvesAsyncEntityConsumerto be used by the pipeline to process the incoming request content stream.AsyncServerPipeline.RequestContentStage.ignoreContent()Configures the pipeline to ignore and discard the incoming request content.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.Method parameters in org.apache.hc.core5.http.nio.support with type arguments of type MessageModifier and TypeMethodDescriptionvoidBasicRequestConsumer.consumeRequest(HttpRequest request, EntityDetails entityDetails, HttpContext httpContext, FutureCallback<Message<HttpRequest, T>> resultCallback) voidBasicResponseConsumer.consumeResponse(HttpResponse response, EntityDetails entityDetails, HttpContext httpContext, FutureCallback<Message<HttpResponse, T>> resultCallback)