RFR: 8327796: Add method to java.net.http.HttpRequest to return a GET request in one call [v2]

Michael McMahon michaelm at openjdk.org
Tue Mar 12 16:15:31 UTC 2024


> Hi,
> 
> This PR proposes to add simple utility method which returns a simple GET HttpRequest in one call. The current builder pattern requires 4 (or 3 since GET is the default method) method calls to achieve the same effect.
> 
> Thanks,
> Michael

Michael McMahon has updated the pull request incrementally with one additional commit since the last revision:

  update Daniel review

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/18227/files
  - new: https://git.openjdk.org/jdk/pull/18227/files/b27db570..2de260e5

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=18227&range=01
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=18227&range=00-01

  Stats: 32 lines in 4 files changed: 23 ins; 3 del; 6 mod
  Patch: https://git.openjdk.org/jdk/pull/18227.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/18227/head:pull/18227

PR: https://git.openjdk.org/jdk/pull/18227


More information about the net-dev mailing list