src/java.net.http/share/classes/java/net/http/HttpClient.java
branchhttp-client-branch
changeset 56676 7b616fbd7d5b
parent 56665 67fb9313d860
child 56745 b75307ee399a
equal deleted inserted replaced
56665:67fb9313d860 56676:7b616fbd7d5b
    55  * protocol version ( HTTP/1.1 or HTTP/2 ), whether to follow redirects, a
    55  * protocol version ( HTTP/1.1 or HTTP/2 ), whether to follow redirects, a
    56  * proxy, an authenticator, etc. Once built, an {@code HttpClient} is immutable,
    56  * proxy, an authenticator, etc. Once built, an {@code HttpClient} is immutable,
    57  * and can be used to send multiple requests.
    57  * and can be used to send multiple requests.
    58  *
    58  *
    59  * <p> An {@code HttpClient} provides configuration information, and resource
    59  * <p> An {@code HttpClient} provides configuration information, and resource
    60  * sharing, for all requests send through it.
    60  * sharing, for all requests sent through it.
    61  *
    61  *
    62  * <p> A {@link BodyHandler BodyHandler} must be supplied for each {@link
    62  * <p> A {@link BodyHandler BodyHandler} must be supplied for each {@link
    63  * HttpRequest} sent. The {@code BodyHandler} determines how to handle the
    63  * HttpRequest} sent. The {@code BodyHandler} determines how to handle the
    64  * response body, if any. Once an {@link HttpResponse} is received, the
    64  * response body, if any. Once an {@link HttpResponse} is received, the
    65  * headers, response code, and body (typically) are available. Whether the
    65  * headers, response code, and body (typically) are available. Whether the