@ConfigurationProperties(prefix="spring.thymeleaf") public class ThymeleafProperties extends Object
Modifier and Type | Class and Description |
---|---|
static class |
ThymeleafProperties.Reactive |
static class |
ThymeleafProperties.Servlet |
Modifier and Type | Field and Description |
---|---|
static String |
DEFAULT_PREFIX |
static String |
DEFAULT_SUFFIX |
Constructor and Description |
---|
ThymeleafProperties() |
Modifier and Type | Method and Description |
---|---|
Charset |
getEncoding() |
String[] |
getExcludedViewNames() |
String |
getMode() |
String |
getPrefix() |
ThymeleafProperties.Reactive |
getReactive() |
ThymeleafProperties.Servlet |
getServlet() |
String |
getSuffix() |
Integer |
getTemplateResolverOrder() |
String[] |
getViewNames() |
boolean |
isCache() |
boolean |
isCheckTemplate() |
boolean |
isCheckTemplateLocation() |
boolean |
isEnabled() |
boolean |
isEnableSpringElCompiler() |
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 |
setMode(String mode) |
void |
setPrefix(String prefix) |
void |
setSuffix(String suffix) |
void |
setTemplateResolverOrder(Integer templateResolverOrder) |
void |
setViewNames(String[] viewNames) |
public static final String DEFAULT_PREFIX
public static final String DEFAULT_SUFFIX
public boolean isEnabled()
public void setEnabled(boolean enabled)
public boolean isCheckTemplate()
public void setCheckTemplate(boolean checkTemplate)
public boolean isCheckTemplateLocation()
public void setCheckTemplateLocation(boolean checkTemplateLocation)
public String getPrefix()
public void setPrefix(String prefix)
public String getSuffix()
public void setSuffix(String suffix)
public String getMode()
public void setMode(String mode)
public Charset getEncoding()
public void setEncoding(Charset encoding)
public boolean isCache()
public void setCache(boolean cache)
public Integer getTemplateResolverOrder()
public void setTemplateResolverOrder(Integer templateResolverOrder)
public String[] getExcludedViewNames()
public void setExcludedViewNames(String[] excludedViewNames)
public String[] getViewNames()
public void setViewNames(String[] viewNames)
public boolean isEnableSpringElCompiler()
public void setEnableSpringElCompiler(boolean enableSpringElCompiler)
public ThymeleafProperties.Reactive getReactive()
public ThymeleafProperties.Servlet getServlet()
Copyright © 2019 Pivotal Software, Inc.. All rights reserved.