## Uses of Interface
java.net.http.HttpClient.Builder

- Packages that use HttpClient.Builder
  Package | Description
  --- | ---
  java.net.http | HTTP Client and WebSocket APIs

- - ### Uses of HttpClient.Builder in java.net.http

    Methods in java.net.http that return HttpClient.Builder
    Modifier and Type | Method | Description
    --- | --- | ---
    `HttpClient.Builder` | HttpClient.Builder.`authenticator​(Authenticator authenticator)` | Sets an authenticator to use for HTTP authentication.
    `HttpClient.Builder` | HttpClient.Builder.`connectTimeout​(Duration duration)` | Sets the connect timeout duration for this client.
    `HttpClient.Builder` | HttpClient.Builder.`cookieHandler​(CookieHandler cookieHandler)` | Sets a cookie handler.
    `HttpClient.Builder` | HttpClient.Builder.`executor​(Executor executor)` | Sets the executor to be used for asynchronous and dependent tasks.
    `HttpClient.Builder` | HttpClient.Builder.`followRedirects​(HttpClient.Redirect policy)` | Specifies whether requests will automatically follow redirects issued by the server.
    `static HttpClient.Builder` | HttpClient.`newBuilder()` | Creates a new `HttpClient` builder.
    `HttpClient.Builder` | HttpClient.Builder.`priority​(int priority)` | Sets the default priority for any HTTP/2 requests sent from this client.
    `HttpClient.Builder` | HttpClient.Builder.`proxy​(ProxySelector proxySelector)` | Sets a `ProxySelector`.
    `HttpClient.Builder` | HttpClient.Builder.`sslContext​(SSLContext sslContext)` | Sets an `SSLContext`.
    `HttpClient.Builder` | HttpClient.Builder.`sslParameters​(SSLParameters sslParameters)` | Sets an `SSLParameters`.
    `HttpClient.Builder` | HttpClient.Builder.`version​(HttpClient.Version version)` | Requests a specific HTTP protocol version where possible.