Class ClientConfiguration

java.lang.Object
org.azd.abstractions.ClientConfiguration

public class ClientConfiguration extends Object
Singleton class that configures Api request options.
  • Method Details

    • getInstance

      public static ClientConfiguration getInstance()
      Get the instance to configure.
      Returns:
      Instance of ClientConfiguration.
    • getRequestOption

      public RequestOption getRequestOption()
      Get the request option object.
      Returns:
      RequestOption.
    • getRetryHandler

      public RetryHandler getRetryHandler()
      Get the retry handler object.
      Returns:
      RetryHandler.
    • configureRequestOption

      public void configureRequestOption(RequestOption requestOption)
      Configures the request option.
      Parameters:
      requestOption - Request option object to configure.
    • configureRetryHandler

      public void configureRetryHandler(RetryHandler retryHandler)
      Configures the retry handler options.
      Parameters:
      retryHandler - Retry handler object to configure.