pl.allegro.tech.hermes.management.config.HttpClientProperties Maven / Gradle / Ivy
package pl.allegro.tech.hermes.management.config;
import org.springframework.boot.context.properties.ConfigurationProperties;
@ConfigurationProperties(prefix = "http-client")
public class HttpClientProperties {
private int readTimeout = 3000;
private int connectTimeout = 3000;
public int getReadTimeout() {
return readTimeout;
}
public void setReadTimeout(int readTimeout) {
this.readTimeout = readTimeout;
}
public int getConnectTimeout() {
return connectTimeout;
}
public void setConnectTimeout(int connectTimeout) {
this.connectTimeout = connectTimeout;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy