类 DustMsProperties
- java.lang.Object
-
- top.daxian1218.dust.service.config.DustMsProperties
-
@ConfigurationProperties(prefix="dust.ms", ignoreUnknownFields=false) public class DustMsProperties extends java.lang.Object
微服务的相应配置 思路来自于JHipster
-
-
嵌套类概要
嵌套类 修饰符和类型 类 说明 static class
DustMsProperties.Async
static class
DustMsProperties.Cache
static class
DustMsProperties.Http
static class
DustMsProperties.Logging
static class
DustMsProperties.Mail
static class
DustMsProperties.Metrics
static class
DustMsProperties.Repository
static class
DustMsProperties.Ribbon
static class
DustMsProperties.Security
static class
DustMsProperties.Stream
static class
DustMsProperties.Swagger
-
构造器概要
构造器 构造器 说明 DustMsProperties()
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 DustMsProperties.Async
getAsync()
DustMsProperties.Cache
getCache()
org.springframework.web.cors.CorsConfiguration
getCors()
java.lang.String[]
getCorsMatchers()
DustMsProperties.Http
getHttp()
DustMsProperties.Logging
getLogging()
DustMsProperties.Mail
getMail()
DustMsProperties.Metrics
getMetrics()
DustMsProperties.Repository
getRepository()
DustMsProperties.Ribbon
getRibbon()
DustMsProperties.Security
getSecurity()
DustMsProperties.Stream
getStream()
DustMsProperties.Swagger
getSwagger()
boolean
isDebug()
void
setCorsMatchers(java.lang.String[] corsMatchers)
void
setDebug(boolean debug)
-
-
-
方法详细资料
-
getAsync
public DustMsProperties.Async getAsync()
-
getHttp
public DustMsProperties.Http getHttp()
-
getCache
public DustMsProperties.Cache getCache()
-
getMail
public DustMsProperties.Mail getMail()
-
getSecurity
public DustMsProperties.Security getSecurity()
-
getSwagger
public DustMsProperties.Swagger getSwagger()
-
getMetrics
public DustMsProperties.Metrics getMetrics()
-
getCors
public org.springframework.web.cors.CorsConfiguration getCors()
-
getCorsMatchers
public java.lang.String[] getCorsMatchers()
-
setCorsMatchers
public void setCorsMatchers(java.lang.String[] corsMatchers)
-
getRibbon
public DustMsProperties.Ribbon getRibbon()
-
getStream
public DustMsProperties.Stream getStream()
-
getRepository
public DustMsProperties.Repository getRepository()
-
isDebug
public boolean isDebug()
-
setDebug
public void setDebug(boolean debug)
-
getLogging
public DustMsProperties.Logging getLogging()
-
-