com.paas.bean.props.AppProperties Maven / Gradle / Ivy
package com.paas.bean.props;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;
/**
* @ClassName AppProperties
* @Date 2021/2/1 11:49
* @Auther wangyongyong
* @Version 1.0
* @Description 应用配置
*/
@Configuration
@ConfigurationProperties(prefix = "app")
public class AppProperties
{
private Boolean modifyResponseStatus = true;
private Integer httpContentLength = 20480;
public Boolean getModifyResponseStatus()
{
return modifyResponseStatus;
}
public void setModifyResponseStatus(Boolean modifyResponseStatus)
{
this.modifyResponseStatus = modifyResponseStatus;
}
public Integer getHttpContentLength()
{
return httpContentLength;
}
public void setHttpContentLength(Integer httpContentLength)
{
this.httpContentLength = httpContentLength;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy