Closed
Description
Expected Behavior
I would expect to not have to specify a Path as required in the method signature if I want to buffer contents to a stream
While this is fine:
CompletableFuture<GetObjectResponse> s3AsyncClient.getObject(GetObjectRequest, Path)
Proposed solution
I would also expect this:
CompletableFuture<GetObjectResponse> s3AsyncClient.getObject(GetObjectRequest)
I'm not sure where this fits in on a current roadmap if one exists, whether it was overlooked or is just not done yet. I would expect CompletableFuture to be a first class citizen, but maybe I have just misunderstood how it is meant to be used.
Your Environment
- AWS Java SDK version used: 2.0.0-preview-7
- JDK version used: Oracle Java(TM) SE Runtime Environment (build 9+181)
Java HotSpot(TM) 64-Bit Server VM (build 9+181, mixed mode) - Operating System and version: OSX