Package org.eclipse.cbi.maven.http
Class HttpRequest.Config
java.lang.Object
org.eclipse.cbi.maven.http.HttpRequest.Config
- Direct Known Subclasses:
AutoValue_HttpRequest_Config
- Enclosing class:
HttpRequest
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic HttpRequest.Config.Builder
builder()
abstract Duration
The timeout for establishing a TCP connection with remote serverstatic HttpRequest.Config
abstract Duration
The max time between two packets exchangeabstract Duration
timeout()
The wall time-out for the request, from establishing the connection to closing it.
-
Field Details
-
CONNECT_TIMEOUT__DEFAULT
-
TIMEOUT__DEFAULT
-
READ_TIMEOUT__DEFAULT
-
-
Constructor Details
-
Config
Config()
-
-
Method Details
-
connectTimeout
The timeout for establishing a TCP connection with remote server- Returns:
-
readTimeout
The max time between two packets exchange- Returns:
-
timeout
The wall time-out for the request, from establishing the connection to closing it.- Returns:
-
builder
-
defaultConfig
-