Class MustacheProperties
java.lang.Object
org.springframework.boot.mustache.autoconfigure.MustacheProperties
@ConfigurationProperties for Mustache.- Since:
- 4.0.0
- Author:
- Dave Syer
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic class -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionDeprecated, for removal: This API element is subject to removal in a future version.@Nullable StringString @Nullable []booleanvoidsetCharset(Charset charset) voidsetCheckTemplateLocation(boolean checkTemplateLocation) voidvoidsetRequestContextAttribute(@Nullable String requestContextAttribute) voidvoidsetViewNames(String @Nullable [] viewNames)
-
Field Details
-
DEFAULT_PREFIX
- See Also:
-
DEFAULT_SUFFIX
- See Also:
-
-
Constructor Details
-
MustacheProperties
public MustacheProperties()
-
-
Method Details
-
getServlet
-
getReactive
-
getPrefix
-
setPrefix
-
getSuffix
-
setSuffix
-
getViewNames
-
setViewNames
-
getRequestContextAttribute
-
setRequestContextAttribute
-
getCharset
-
getCharsetName
Deprecated, for removal: This API element is subject to removal in a future version.since 4.1.0 for removal in 4.3.0 in favor ofgetCharset()Return name of the charset.- Returns:
- the charset name
-
setCharset
-
isCheckTemplateLocation
public boolean isCheckTemplateLocation() -
setCheckTemplateLocation
public void setCheckTemplateLocation(boolean checkTemplateLocation)
-
getCharset()