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 ------------- Commit messages: - Copyright - remove whitespace - update - update - initial impl Changes: https://git.openjdk.org/jdk/pull/18227/files Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=18227&range=00 Issue: https://bugs.openjdk.org/browse/JDK-8327796 Stats: 160 lines in 2 files changed: 155 ins; 2 del; 3 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
