Class AsyncClientPipeline.ResultStage<T>
- java.lang.Object
-
- org.apache.hc.core5.http.nio.support.AsyncClientPipeline.ResultStage<T>
-
- Enclosing class:
- AsyncClientPipeline
public static class AsyncClientPipeline.ResultStage<T> extends java.lang.ObjectExchange result signal stage.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AsyncClientPipeline.CompletionStage<T>result(java.util.concurrent.CompletableFuture<T> future)Configures the pipeline to signal completion of the message exchange by triggering the givenCompletableFutureupon completion.AsyncClientPipeline.CompletionStage<T>result(FutureCallback<T> resultCallback)Configures the pipeline to signal completion of the message exchange by calling the givenFutureCallbackupon completion.
-
-
-
Method Detail
-
result
public AsyncClientPipeline.CompletionStage<T> result(FutureCallback<T> resultCallback)
Configures the pipeline to signal completion of the message exchange by calling the givenFutureCallbackupon completion.
-
result
public AsyncClientPipeline.CompletionStage<T> result(java.util.concurrent.CompletableFuture<T> future)
Configures the pipeline to signal completion of the message exchange by triggering the givenCompletableFutureupon completion.
-
-