RFR: 8327796: Add method to java.net.http.HttpRequest to return a GET request in one call [v4]
Michael McMahon
michaelm at openjdk.org
Tue Mar 12 21:41:42 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 src/java.net.http/share/classes/java/net/http/HttpRequest.java
Co-authored-by: Daniel Fuchs <67001856+dfuch at users.noreply.github.com>
-------------
Changes:
- all: https://git.openjdk.org/jdk/pull/18227/files
- new: https://git.openjdk.org/jdk/pull/18227/files/a691e2cf..e7a7f213
Webrevs:
- full: https://webrevs.openjdk.org/?repo=jdk&pr=18227&range=03
- incr: https://webrevs.openjdk.org/?repo=jdk&pr=18227&range=02-03
Stats: 1 line in 1 file changed: 0 ins; 0 del; 1 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