ResponseT - ResponseT of the original AsyncResponseTransformer that was split.ResultT - ResultT of the original AsyncResponseTransformer that was split.public static interface AsyncResponseTransformer.SplitResult<ResponseT,ResultT> extends ToCopyableBuilder<AsyncResponseTransformer.SplitResult.Builder<ResponseT,ResultT>,AsyncResponseTransformer.SplitResult<ResponseT,ResultT>>
splitting an AsyncResponseTransformer. This class holds both the publisher of the individual
AsyncResponseTransformer<ResponseT, ResponseT> and the CompletableFuture <ResultT> which will
complete when the AsyncResponseTransformer that was split itself would complete.| Modifier and Type | Interface and Description |
|---|---|
static interface |
AsyncResponseTransformer.SplitResult.Builder<ResponseT,ResultT> |
| Modifier and Type | Method and Description |
|---|---|
static <ResponseT,ResultT> |
builder() |
SdkPublisher<AsyncResponseTransformer<ResponseT,ResponseT>> |
publisher()
The individual
AsyncResponseTransformer will be available through the publisher returned by this method. |
CompletableFuture<ResultT> |
resultFuture()
The future returned by this method will be completed when the future returned by calling the
AsyncResponseTransformer.prepare() method on the AsyncResponseTransformer which was split completes. |
copy, toBuilderSdkPublisher<AsyncResponseTransformer<ResponseT,ResponseT>> publisher()
AsyncResponseTransformer will be available through the publisher returned by this method.AsyncResponseTransformerCompletableFuture<ResultT> resultFuture()
AsyncResponseTransformer.prepare() method on the AsyncResponseTransformer which was split completes.static <ResponseT,ResultT> AsyncResponseTransformer.SplitResult.Builder<ResponseT,ResultT> builder()
Copyright © 2026. All rights reserved.