public interface PlainTextConfigClient
| Modifier and Type | Method and Description |
|---|---|
default Resource |
getConfigFile(String path)
Retrieves a config file using the defaults profiles and labels.
|
default Resource |
getConfigFile(String profile,
String label,
String path)
Retrieves a config file.
|
Resource |
getPlainTextResource(String path)
Retrieves a config file using the defaults profiles and labels.
|
Resource |
getPlainTextResource(String profile,
String label,
String path)
Retrieves a config file.
|
Resource getPlainTextResource(String path)
path - config file nameIllegalArgumentException - when application name or Config Server url is
undefined.HttpClientErrorException - when a config file is not found.Resource getPlainTextResource(String profile, String label, String path)
IllegalArgumentException - when application name or Config Server url is
undefined.HttpClientErrorException - when a config file is not found.default Resource getConfigFile(String path)
path - config file nameIllegalArgumentException - when application name or Config Server url is
undefined.HttpClientErrorException - when a config file is not found.default Resource getConfigFile(String profile, String label, String path)
IllegalArgumentException - when application name or Config Server url is
undefined.HttpClientErrorException - when a config file is not found.