Class AsyncResponseTransformerUtils


  • public final class AsyncResponseTransformerUtils
    extends Object
    • Method Detail

      • wrapWithEndOfStreamFuture

        public static <ResponseT,​ResultT> software.amazon.awssdk.utils.Pair<AsyncResponseTransformer<ResponseT,​ResultT>,​CompletableFuture<Void>> wrapWithEndOfStreamFuture​(AsyncResponseTransformer<ResponseT,​ResultT> responseTransformer)
        Wrap a AsyncResponseTransformer and associate it with a future that is completed upon end-of-stream, regardless of whether the transformer is configured to complete its future upon end-of-response or end-of-stream.