类 MustacheProperties
- java.lang.Object
- org.springframework.boot.autoconfigure.template.AbstractViewResolverProperties
- org.springframework.boot.autoconfigure.template.AbstractTemplateViewResolverProperties
- org.springframework.boot.autoconfigure.mustache.MustacheProperties
@ConfigurationProperties(prefix="spring.mustache") public class MustacheProperties extends AbstractTemplateViewResolverProperties
ConfigurationProperties
for Mustache.- 从以下版本开始:
- 1.2.2
字段概要
字段 修饰符和类型 字段 说明 static String
DEFAULT_PREFIX
static String
DEFAULT_SUFFIX
构造器概要
构造器 构造器 说明 MustacheProperties()
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 String
getPrefix()
String
getSuffix()
void
setPrefix(String prefix)
void
setSuffix(String suffix)
从类继承的方法 org.springframework.boot.autoconfigure.template.AbstractTemplateViewResolverProperties
applyToViewResolver, getRequestContextAttribute, isAllowRequestOverride, isAllowSessionOverride, isExposeRequestAttributes, isExposeSessionAttributes, isExposeSpringMacroHelpers, setAllowRequestOverride, setAllowSessionOverride, setExposeRequestAttributes, setExposeSessionAttributes, setExposeSpringMacroHelpers, setRequestContextAttribute
从类继承的方法 org.springframework.boot.autoconfigure.template.AbstractViewResolverProperties
getCharset, getCharsetName, getContentType, getViewNames, isCache, isCheckTemplateLocation, isEnabled, setCache, setCharset, setCheckTemplateLocation, setContentType, setEnabled, setViewNames
字段详细资料
DEFAULT_PREFIX
public static final String DEFAULT_PREFIX
- 另请参阅:
- 常量字段值
DEFAULT_SUFFIX
public static final String DEFAULT_SUFFIX
- 另请参阅:
- 常量字段值
构造器详细资料
MustacheProperties
public MustacheProperties()