Package org.hglteam.config.remote
Class RemoteConfigRestClient
- java.lang.Object
-
- org.hglteam.config.remote.RemoteConfigRestClient
-
- All Implemented Interfaces:
RemoteConfigServiceClient
public class RemoteConfigRestClient extends Object implements RemoteConfigServiceClient
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.hglteam.config.remote.RemoteConfigServiceClient
RemoteConfigServiceClient.RemoteConfigFetchException
-
-
Field Summary
-
Fields inherited from interface org.hglteam.config.remote.RemoteConfigServiceClient
SLASH_PLACEHOLDER
-
-
Constructor Summary
Constructors Constructor Description RemoteConfigRestClient(org.springframework.web.client.RestTemplate restTemplate, RemoteConfigRestServiceProperties properties, RemoteConfigObjectFactory originTrackedObjectFactory)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.springframework.core.env.PropertySource<?>fetch(org.springframework.core.env.Environment environment)
-
-
-
Constructor Detail
-
RemoteConfigRestClient
public RemoteConfigRestClient(org.springframework.web.client.RestTemplate restTemplate, RemoteConfigRestServiceProperties properties, RemoteConfigObjectFactory originTrackedObjectFactory)
-
-
Method Detail
-
fetch
public org.springframework.core.env.PropertySource<?> fetch(org.springframework.core.env.Environment environment)
- Specified by:
fetchin interfaceRemoteConfigServiceClient
-
-