RFR: 8327991: Improve HttpClient documentation with regard to reclaiming resources [v5]

Jaikiran Pai jpai at openjdk.org
Thu Mar 21 15:56:21 UTC 2024


On Thu, 21 Mar 2024 15:38:46 GMT, Daniel Fuchs <dfuchs at openjdk.org> wrote:

>> Please find here a doc-only change that tries to better document how resources allocated by the HttpClient are reclaimed.
>> The `@implNote` in the HttpClient class level API documentation is extended to document what happens if you don't explicitly close the HttpClient. The note is refactored to introduce the notion of streaming or publishing bodies. BodySubscribers and BodyHandlers now have links that link back to the HttpClient API note, as well as identifying methods that return publishing or streaming body implementations.
>
> Daniel Fuchs has updated the pull request incrementally with one additional commit since the last revision:
> 
>   Copyright years

Marked as reviewed by jpai (Reviewer).

-------------

PR Review: https://git.openjdk.org/jdk/pull/18270#pullrequestreview-1952658235


More information about the net-dev mailing list