Package org.azd.abstractions
Class ClientConfiguration
java.lang.Object
org.azd.abstractions.ClientConfiguration
Singleton class that configures Api request options.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
configureRequestOption
(RequestOption requestOption) Configures the request option.void
configureRetryHandler
(RetryHandler retryHandler) Configures the retry handler options.static ClientConfiguration
Get the instance to configure.Get the request option object.Get the retry handler object.
-
Method Details
-
getInstance
Get the instance to configure.- Returns:
- Instance of ClientConfiguration.
-
getRequestOption
Get the request option object.- Returns:
- RequestOption.
-
getRetryHandler
Get the retry handler object.- Returns:
- RetryHandler.
-
configureRequestOption
Configures the request option.- Parameters:
requestOption
- Request option object to configure.
-
configureRetryHandler
Configures the retry handler options.- Parameters:
retryHandler
- Retry handler object to configure.
-