Class ApiClients


  • public class ApiClients
    extends java.lang.Object
    This class contains static factory methods for creating new ApiClient instances.
    • Constructor Summary

      Constructors 
      Constructor Description
      ApiClients()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static ApiClient newRestClient​(java.lang.String baseUrl)
      Creates ApiClient instance which can be used to consume REST API.
      static ApiClient newRestClient​(java.lang.String baseUrl, Configuration config)
      Creates ApiClient instance for the specified configuration, which can be used to consume REST API.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ApiClients

        public ApiClients()
    • Method Detail

      • newRestClient

        public static ApiClient newRestClient​(java.lang.String baseUrl)
        Creates ApiClient instance which can be used to consume REST API.
        Parameters:
        baseUrl - the base URL of the REST API; must not be null
        Returns:
        new ApiClient instance
      • newRestClient

        public static ApiClient newRestClient​(java.lang.String baseUrl,
                                              Configuration config)
        Creates ApiClient instance for the specified configuration, which can be used to consume REST API.
        Parameters:
        baseUrl - the base URL of the REST API; must not be null
        config - configuration for the created client instance; must not be null
        Returns:
        new ApiClient instance