Skip to content

Method fromInputStream doesn't buffer anymore #6038

@Aleksei-Kolebakin

Description

@Aleksei-Kolebakin

Describe the issue

In the 2.30.17 version buffering was removed in the public static RequestBody fromInputStream(InputStream inputStream, long contentLength) method. But documentation for this method still contains this note:
Important: If inputStream does not support mark and reset, the stream will be buffered.
Link to the PR:
5f2af77#diff-1a88bd363dd55e33ebf3734f8a96c524d600b3f46745c82169482718d43c030a
Link to the documentation: https://sdk.amazonaws.com/java/api/latest/software/amazon/awssdk/core/sync/RequestBody.html#fromInputStream(java.io.InputStream,long)

Links

https://sdk.amazonaws.com/java/api/latest/software/amazon/awssdk/core/sync/RequestBody.html#fromInputStream(java.io.InputStream,long)

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationThis is a problem with documentation.p2This is a standard priority issue

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions