diff -r 818a23db260c -r 4254bed3c09d src/java.net.http/share/classes/java/net/http/HttpRequest.java --- a/src/java.net.http/share/classes/java/net/http/HttpRequest.java Wed Jun 20 17:15:16 2018 +0200 +++ b/src/java.net.http/share/classes/java/net/http/HttpRequest.java Wed Jun 20 09:05:57 2018 -0700 @@ -89,10 +89,12 @@ *

Instances of {@code HttpRequest.Builder} are created by calling {@link * HttpRequest#newBuilder(URI)} or {@link HttpRequest#newBuilder()}. * - *

Each of the setter methods modifies the state of the builder - * and returns the same instance. The methods are not synchronized and - * should not be called from multiple threads without external - * synchronization. The {@link #build() build} method returns a new + *

The builder can be used to configure per-request state, such as: the + * request URI, the request method (default is GET unless explicitly set), + * specific request headers, etc. Each of the setter methods modifies the + * state of the builder and returns the same instance. The methods are not + * synchronized and should not be called from multiple threads without + * external synchronization. The {@link #build() build} method returns a new * {@code HttpRequest} each time it is invoked. Once built an {@code * HttpRequest} is immutable, and can be sent multiple times. *