com.dahua.eco.base.spring.config.ApigwConfig Maven / Gradle / Ivy
package com.dahua.eco.base.spring.config;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.annotation.PropertySource;
import org.springframework.stereotype.Component;
@Component
@PropertySource(value = {
"classpath:application.properties"
}, ignoreResourceNotFound = true)
public class ApigwConfig {
@Value("${https.prefix:127.0.0.1:443}")
private String httpsPrefix;
public String getHttpsPrefix() {
return httpsPrefix;
}
public void setHttpsPrefix(String httpsPrefix) {
this.httpsPrefix = httpsPrefix;
}
}