@ConfigurationProperties(prefix="spring.thymeleaf") public class ThymeleafProperties extends Object
Modifier and Type | Field and Description |
---|---|
static String |
DEFAULT_PREFIX |
static String |
DEFAULT_SUFFIX |
Constructor and Description |
---|
ThymeleafProperties() |
Modifier and Type | Method and Description |
---|---|
org.springframework.util.MimeType |
getContentType() |
Charset |
getEncoding() |
String[] |
getExcludedViewNames() |
String |
getMode() |
String |
getPrefix() |
String |
getSuffix() |
Integer |
getTemplateResolverOrder() |
String[] |
getViewNames() |
boolean |
isCache() |
boolean |
isCheckTemplate() |
boolean |
isCheckTemplateLocation() |
boolean |
isEnabled() |
void |
setCache(boolean cache) |
void |
setCheckTemplate(boolean checkTemplate) |
void |
setCheckTemplateLocation(boolean checkTemplateLocation) |
void |
setContentType(org.springframework.util.MimeType contentType) |
void |
setEnabled(boolean enabled) |
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 org.springframework.util.MimeType getContentType()
public void setContentType(org.springframework.util.MimeType contentType)
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)
Copyright © 2018 Pivotal Software, Inc.. All rights reserved.