Package org.azd.abstractions
Class ClientConfiguration
java.lang.Object
org.azd.abstractions.ClientConfiguration
Singleton class that configures Api request options.
-
Method Summary
Modifier and TypeMethodDescriptionvoidconfigureRequestOption(RequestOption requestOption) Configures the request option.voidconfigureRetryHandler(RetryHandler retryHandler) Configures the retry handler options.static ClientConfigurationGet 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.
-