Class ThymeleafProperties
java.lang.Object
org.springframework.boot.autoconfigure.thymeleaf.ThymeleafProperties
Properties for Thymeleaf.
- Since:
- 1.2.0
- Author:
- Stephane Nicoll, Brian Clozel, Daniel Fernández, Kazuki Shimizu
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
static class
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionString[]
getMode()
String[]
boolean
isCache()
boolean
boolean
boolean
boolean
boolean
void
setCache
(boolean cache) void
setCheckTemplate
(boolean checkTemplate) void
setCheckTemplateLocation
(boolean checkTemplateLocation) void
setEnabled
(boolean enabled) void
setEnableSpringElCompiler
(boolean enableSpringElCompiler) void
setEncoding
(Charset encoding) void
setExcludedViewNames
(String[] excludedViewNames) void
void
void
setRenderHiddenMarkersBeforeCheckboxes
(boolean renderHiddenMarkersBeforeCheckboxes) void
void
setTemplateResolverOrder
(Integer templateResolverOrder) void
setViewNames
(String[] viewNames)
-
Field Details
-
DEFAULT_PREFIX
- See Also:
-
DEFAULT_SUFFIX
- See Also:
-
-
Constructor Details
-
ThymeleafProperties
public ThymeleafProperties()
-
-
Method Details
-
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) -
getPrefix
-
setPrefix
-
getSuffix
-
setSuffix
-
getMode
-
setMode
-
getEncoding
-
setEncoding
-
isCache
public boolean isCache() -
setCache
public void setCache(boolean cache) -
getTemplateResolverOrder
-
setTemplateResolverOrder
-
getExcludedViewNames
-
setExcludedViewNames
-
getViewNames
-
setViewNames
-
isEnableSpringElCompiler
public boolean isEnableSpringElCompiler() -
setEnableSpringElCompiler
public void setEnableSpringElCompiler(boolean enableSpringElCompiler) -
isRenderHiddenMarkersBeforeCheckboxes
public boolean isRenderHiddenMarkersBeforeCheckboxes() -
setRenderHiddenMarkersBeforeCheckboxes
public void setRenderHiddenMarkersBeforeCheckboxes(boolean renderHiddenMarkersBeforeCheckboxes) -
getReactive
-
getServlet
-