public class ApiClients
extends java.lang.Object
ApiClient
instances.Constructor and Description |
---|
ApiClients() |
Modifier and Type | Method and 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. |
public static ApiClient newRestClient(java.lang.String baseUrl)
ApiClient
instance which can be used to consume REST
API.baseUrl
- the base URL of the REST API; must not be null
ApiClient
instancepublic static ApiClient newRestClient(java.lang.String baseUrl, Configuration config)
ApiClient
instance for the specified configuration, which
can be used to consume REST API.baseUrl
- the base URL of the REST API; must not be null
config
- configuration for the created client instance; must not
be null
ApiClient
instance