Configuration using Java system properties
The following features can be configured using Java system properties.
HTTP client timeouts
You can configure the HTTP connect, HTTP read, and socket timeouts using the following system properties.
Property | Format | Description |
---|---|---|
AXIOMATICS_HTTP_AC_DISABLE_TIMEOUT | true/false | Defines whether the HTTP connect, HTTP read, and socket timeouts are disabled. The default is false . |
AXIOMATICS_HTTP_AC_HTTP_TIMEOUT_SECONDS | int | Defines the HTTP connect, HTTP read, and socket timeout limit. The default is 60 seconds. |
Secure HTTP configuration
The following property builds an HttpClient object as HttpClients.custom().useSystemProperties()
.
Property | Format | Description |
---|---|---|
AXIOMATICS_HTTP_PIP_USE_SYSTEM_DEFAULT_TLS | true/false | Builds an HttpClient object that makes calls using the default TLS configuration of your system. The default is false . |
For more information about HttpClient, see the Apache documentationOpens in a new tab.