Class AsyncJsonClientPipeline.ResultStage<T>
java.lang.Object
org.apache.hc.core5.jackson2.http.AsyncJsonClientPipeline.ResultStage<T>
- Enclosing class:
- AsyncJsonClientPipeline
Exchange result signal stage.
-
Method Summary
Modifier and TypeMethodDescriptionresult(CompletableFuture<T> future) Configures the pipeline to signal completion of the message exchange by triggering the givenCompletableFutureupon completion.result(FutureCallback<T> resultCallback) Configures the pipeline to signal completion of the message exchange by calling the givenFutureCallbackupon completion.
-
Method Details
-
result
Configures the pipeline to signal completion of the message exchange by calling the givenFutureCallbackupon completion. -
result
Configures the pipeline to signal completion of the message exchange by triggering the givenCompletableFutureupon completion.
-