RFR: 8327796: Add method to java.net.http.HttpRequest to return a GET request in one call [v5]
Michael McMahon
michaelm at openjdk.org
Wed Mar 20 10:12:35 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 test/jdk/java/net/httpclient/GETTest.java
Co-authored-by: Andrey Turbanov <turbanoff at gmail.com>
-------------
Changes:
- all: https://git.openjdk.org/jdk/pull/18227/files
- new: https://git.openjdk.org/jdk/pull/18227/files/e7a7f213..62b71bc8
Webrevs:
- full: https://webrevs.openjdk.org/?repo=jdk&pr=18227&range=04
- incr: https://webrevs.openjdk.org/?repo=jdk&pr=18227&range=03-04
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