abstract HttpClient.Builder |
HttpClient.Builder.authenticator(Authenticator a) |
Sets an authenticator to use for HTTP authentication.
|
abstract HttpClient.Builder |
HttpClient.Builder.cookieManager(CookieManager cookieManager) |
Sets a cookie manager.
|
abstract HttpClient.Builder |
HttpClient.Builder.executor(Executor executor) |
Sets the executor to be used for asynchronous tasks.
|
abstract 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.
|
abstract HttpClient.Builder |
HttpClient.Builder.priority(int priority) |
Sets the default priority for any HTTP/2 requests sent from this
client.
|
abstract HttpClient.Builder |
HttpClient.Builder.proxy(ProxySelector selector) |
|
abstract HttpClient.Builder |
HttpClient.Builder.sslContext(SSLContext sslContext) |
Sets an SSLContext .
|
abstract HttpClient.Builder |
HttpClient.Builder.sslParameters(SSLParameters sslParameters) |
Sets an SSLParameters .
|
abstract HttpClient.Builder |
HttpClient.Builder.version(HttpClient.Version version) |
Requests a specific HTTP protocol version where possible.
|