sviolet.slate.springboot.auto.SlateProperties Maven / Gradle / Ivy
package sviolet.slate.springboot.auto;
import org.springframework.boot.context.properties.ConfigurationProperties;
import sviolet.slate.springboot.modelx.loadbalance.auto.HttpClientProperties;
import java.util.Map;
/**
* Slate自动配置参数
*
* @author S.Violet
*/
@ConfigurationProperties(prefix = "slate")
public class SlateProperties {
/**
* slate.httpclients
* 自动配置SimpleOkHttpClient(多个)
*/
private Map httpclients;
public Map getHttpclients() {
return httpclients;
}
public void setHttpclients(Map httpclients) {
this.httpclients = httpclients;
}
}