public interface PlainTextConfigClient
| Modifier and Type | Method and Description |
|---|---|
org.springframework.core.io.Resource |
getConfigFile(java.lang.String path)
Retrieves a config file using the defaults profiles and labels.
|
org.springframework.core.io.Resource |
getConfigFile(java.lang.String profile,
java.lang.String label,
java.lang.String path)
Retrieves a config file.
|
org.springframework.core.io.Resource getConfigFile(java.lang.String path)
path - config file namejava.lang.IllegalArgumentException - when application name or Config Server url is
undefined.org.springframework.web.client.HttpClientErrorException - when a config file is not found.org.springframework.core.io.Resource getConfigFile(java.lang.String profile,
java.lang.String label,
java.lang.String path)
java.lang.IllegalArgumentException - when application name or Config Server url is
undefined.org.springframework.web.client.HttpClientErrorException - when a config file is not found.