
io.github.ximutech.spore.config.RetrofitProperties Maven / Gradle / Ivy
package io.github.ximutech.spore.config;
import io.github.ximutech.spore.Constants;
import io.github.ximutech.spore.log.GlobalLogProperty;
import io.github.ximutech.spore.retry.GlobalRetryProperty;
import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.boot.context.properties.NestedConfigurationProperty;
/**
* @author ximu
*/
@ConfigurationProperties(prefix = Constants.RETROFIT)
@Data
public class RetrofitProperties {
/**
* 全局的重试配置
*/
@NestedConfigurationProperty
private GlobalRetryProperty globalRetry = new GlobalRetryProperty();
/**
* 全局日志配置
*/
@NestedConfigurationProperty
private GlobalLogProperty globalLog = new GlobalLogProperty();
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy