HTTP Client and WebSocket APIs
-
Sets an authenticator to use for HTTP authentication.
Sets the connect timeout duration for this client.
Sets the executor to be used for asynchronous and dependent tasks.
Specifies whether requests will automatically follow redirects issued
by the server.
Binds the socket to this local address when creating
connections for sending requests.
Creates a new HttpClient
builder.
HttpClient.Builder.priority(int priority)
Sets the default priority for any HTTP/2 requests sent from this
client.
Requests a specific HTTP protocol version where possible.