Skip to main content

The most recent patch for this version is 5.0.2.  Learn more  

Version: 5.0

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.

PropertyFormatDescription
AXIOMATICS_HTTP_AC_DISABLE_TIMEOUTtrue/falseDefines whether the HTTP connect, HTTP read, and socket timeouts are disabled.
The default is false.
AXIOMATICS_HTTP_AC_HTTP_TIMEOUT_SECONDSintDefines 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().

PropertyFormatDescription
AXIOMATICS_HTTP_PIP_USE_SYSTEM_DEFAULT_TLStrue/falseBuilds 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.