|
10Duke Java Core
|
Configuration model for use with 10Duke SDK core built-in HTTP client setup.
Public Member Functions | |
| default float | httpTimeoutSeconds () |
| Timeout for HTTP requests. | |
| default Optional< String > | httpsProxy () |
| Proxy to use for HTTPS requests. | |
Public Member Functions inherited from tenduke.sdk.core.model.config.Configuration | |
| < U > U | unwrap () |
| Unwraps the underlying implementation and returns it to the caller. | |
Public Attributes | |
| float | DEFAULT_HTTP_TIMEOUT_SECONDS = 30.0F |
| Defines the default HTTP connect, call, read and write timeout value in seconds. | |
| default Optional< String > tenduke.sdk.core.model.config.HttpClientConfig.httpsProxy | ( | ) |
Proxy to use for HTTPS requests.
The proxy URL must define a hostname and port. The format, including scheme is: proxy://hostname:port. E.g. proxy://localhost:32008.
Defaults to empty (no proxy).
Implemented in tenduke.sdk.core.model.config.AuthConfigWithFallback, and tenduke.sdk.core.model.config.InMemoryAuthConfig.
| default float tenduke.sdk.core.model.config.HttpClientConfig.httpTimeoutSeconds | ( | ) |
Timeout for HTTP requests.
Defaults to DEFAULT_HTTP_TIMEOUT_SECONDS which equals 30.0 seconds. Timeout value must be greater than 0.
Implemented in tenduke.sdk.core.model.config.AuthConfigWithFallback, and tenduke.sdk.core.model.config.InMemoryAuthConfig.