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

Michael McMahon michaelm at openjdk.org
Tue Mar 12 16:21:47 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:

  whitespace

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

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

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

  Stats: 2 lines in 1 file changed: 0 ins; 0 del; 2 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