org.zodiac.autoconfigure.scc.client.SpringCloudAppConfigClientProperties Maven / Gradle / Ivy
package org.zodiac.autoconfigure.scc.client;
import org.springframework.core.env.Environment;
import org.zodiac.scc.client.SpringCloudEnvironmentMediaType;
import org.zodiac.scc.client.constants.SpringConfigClientConstants;
import org.zodiac.scc.client.model.SpringCloudAppConfigClientInfo;
public class SpringCloudAppConfigClientProperties extends SpringCloudAppConfigClientInfo {
protected SpringCloudAppConfigClientProperties() {}
public SpringCloudAppConfigClientProperties(Environment environment) {
super(environment);
setMediaType(SpringCloudEnvironmentMediaType.V2_JSON).setUri(SpringConfigClientConstants.DEFAULT_URI);
}
}