Builder

class Builder

A builder for LithicOkHttpClientAsync.

Functions

Link copied to clipboard
Link copied to clipboard

The base URL to use for every request.

Link copied to clipboard

Returns an immutable instance of LithicClientAsync.

Link copied to clipboard

Whether to throw an exception if any of the Jackson versions detected at runtime are incompatible with the SDK's minimum supported Jackson version (2.13.4).

Link copied to clipboard

The clock to use for operations that require timing, like retries.

Link copied to clipboard

Updates configuration using system properties and environment variables.

Link copied to clipboard

The verifier used to confirm that response certificates apply to requested hostnames for HTTPS connections.

Link copied to clipboard
fun jsonMapper(jsonMapper: JsonMapper): LithicOkHttpClientAsync.Builder

The Jackson JSON mapper to use for serializing and deserializing JSON.

Link copied to clipboard

The maximum number of times to retry failed requests, with a short exponential backoff between requests.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Whether to call validate on every response before returning it.

Link copied to clipboard

Sets baseUrl to https://sandbox.lithic.com.

Link copied to clipboard

The interface to use for delaying execution, like during retries.

Link copied to clipboard

The socket factory used to secure HTTPS connections.

Link copied to clipboard

Sets the maximum time allowed for various parts of an HTTP call's lifecycle, excluding retries.

Sets the maximum time allowed for a complete HTTP call, not including retries.

Link copied to clipboard

The trust manager used to secure HTTPS connections.

Link copied to clipboard