public abstract static class HttpRequest.Config extends Object
Modifier and Type | Class and Description |
---|---|
static class |
HttpRequest.Config.Builder |
Modifier and Type | Method and Description |
---|---|
static HttpRequest.Config.Builder |
builder() |
abstract Duration |
connectTimeout()
The timeout for establishing a TCP connection with remote server
|
static HttpRequest.Config |
defaultConfig() |
abstract Duration |
readTimeout()
The max time between two packets exchange
|
abstract Duration |
timeout()
The wall time-out for the request, from establishing the connection to closing it.
|
public abstract Duration connectTimeout()
public abstract Duration readTimeout()
public abstract Duration timeout()
public static HttpRequest.Config.Builder builder()
public static HttpRequest.Config defaultConfig()
Copyright © 2020 Eclipse Foundation. All rights reserved.