类 ThymeleafProperties
- java.lang.Object
- org.springframework.boot.autoconfigure.thymeleaf.ThymeleafProperties
@ConfigurationProperties(prefix="spring.thymeleaf") public class ThymeleafProperties extends Object
Properties for Thymeleaf.- 从以下版本开始:
- 1.2.0
嵌套类概要
嵌套类 修饰符和类型 类 说明 static class
ThymeleafProperties.Reactive
static class
ThymeleafProperties.Servlet
字段概要
字段 修饰符和类型 字段 说明 static String
DEFAULT_PREFIX
static String
DEFAULT_SUFFIX
构造器概要
构造器 构造器 说明 ThymeleafProperties()
方法概要
字段详细资料
DEFAULT_PREFIX
public static final String DEFAULT_PREFIX
- 另请参阅:
- 常量字段值
DEFAULT_SUFFIX
public static final String DEFAULT_SUFFIX
- 另请参阅:
- 常量字段值
构造器详细资料
ThymeleafProperties
public ThymeleafProperties()
方法详细资料
isEnabled
public boolean isEnabled()
setEnabled
public void setEnabled(boolean enabled)
isCheckTemplate
public boolean isCheckTemplate()
setCheckTemplate
public void setCheckTemplate(boolean checkTemplate)
isCheckTemplateLocation
public boolean isCheckTemplateLocation()
setCheckTemplateLocation
public void setCheckTemplateLocation(boolean checkTemplateLocation)
getEncoding
public Charset getEncoding()
setEncoding
public void setEncoding(Charset encoding)
isCache
public boolean isCache()
setCache
public void setCache(boolean cache)
getTemplateResolverOrder
public Integer getTemplateResolverOrder()
setTemplateResolverOrder
public void setTemplateResolverOrder(Integer templateResolverOrder)
getExcludedViewNames
public String[] getExcludedViewNames()
setExcludedViewNames
public void setExcludedViewNames(String[] excludedViewNames)
getViewNames
public String[] getViewNames()
setViewNames
public void setViewNames(String[] viewNames)
isEnableSpringElCompiler
public boolean isEnableSpringElCompiler()
setEnableSpringElCompiler
public void setEnableSpringElCompiler(boolean enableSpringElCompiler)
isRenderHiddenMarkersBeforeCheckboxes
public boolean isRenderHiddenMarkersBeforeCheckboxes()
setRenderHiddenMarkersBeforeCheckboxes
public void setRenderHiddenMarkersBeforeCheckboxes(boolean renderHiddenMarkersBeforeCheckboxes)
getReactive
public ThymeleafProperties.Reactive getReactive()
getServlet
public ThymeleafProperties.Servlet getServlet()