Class AsyncClientPipeline
java.lang.Object
org.apache.hc.core5.http.nio.support.AsyncClientPipeline
Client side execution pipeline assembler that creates
AsyncClientExchangeHandler instances
with the defined message exchange pipeline that triggers the given FutureCallback
or CompletableFuture upon completion.
Please note that AsyncClientExchangeHandler are stateful and may not be used concurrently
by multiple message exchanges or re-used for subsequent message exchanges.
- Since:
- 5.5
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classExchange completion stage.static classRequest content stage.static classRequest message stage.static classResponse content generation stage.static classResponse message stage.static classExchange result signal stage. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic AsyncClientPipelineassemble()request()request(HttpRequest request) Configures the pipeline to produce an outgoing message stream with the given request head.
-
Constructor Details
-
AsyncClientPipeline
public AsyncClientPipeline()
-
-
Method Details
-
assemble
-
request
-
request
Configures the pipeline to produce an outgoing message stream with the given request head.
-