> 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 three additional commits since the last revision: - Update src/java.net.http/share/classes/java/net/http/HttpResponse.java Co-authored-by: Michael McMahon <[email protected]> - Update src/java.net.http/share/classes/java/net/http/HttpResponse.java Co-authored-by: Michael McMahon <[email protected]> - Update src/java.net.http/share/classes/java/net/http/HttpClient.java Co-authored-by: Michael McMahon <[email protected]> ------------- Changes: - all: https://git.openjdk.org/jdk/pull/18270/files - new: https://git.openjdk.org/jdk/pull/18270/files/67ace8e0..4f830897 Webrevs: - full: https://webrevs.openjdk.org/?repo=jdk&pr=18270&range=03 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=18270&range=02-03 Stats: 4 lines in 2 files changed: 0 ins; 0 del; 4 mod Patch: https://git.openjdk.org/jdk/pull/18270.diff Fetch: git fetch https://git.openjdk.org/jdk.git pull/18270/head:pull/18270 PR: https://git.openjdk.org/jdk/pull/18270
