@ConfigurationProperties(prefix="spring.mustache")
public class MustacheProperties
extends java.lang.Object
@ConfigurationProperties for Mustache.| Modifier and Type | Class and Description |
|---|---|
static class |
MustacheProperties.Reactive |
static class |
MustacheProperties.Servlet |
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
DEFAULT_PREFIX |
static java.lang.String |
DEFAULT_SUFFIX |
| Constructor and Description |
|---|
MustacheProperties() |
| Modifier and Type | Method and Description |
|---|---|
java.nio.charset.Charset |
getCharset() |
java.lang.String |
getCharsetName() |
org.springframework.util.MimeType |
getContentType()
Deprecated.
|
java.lang.String |
getPrefix() |
MustacheProperties.Reactive |
getReactive() |
java.lang.String |
getRequestContextAttribute() |
MustacheProperties.Servlet |
getServlet() |
java.lang.String |
getSuffix() |
java.lang.String[] |
getViewNames() |
boolean |
isAllowRequestOverride()
Deprecated.
|
boolean |
isAllowSessionOverride()
Deprecated.
|
boolean |
isCache()
Deprecated.
|
boolean |
isCheckTemplateLocation() |
boolean |
isEnabled() |
boolean |
isExposeRequestAttributes()
Deprecated.
|
boolean |
isExposeSessionAttributes()
Deprecated.
|
boolean |
isExposeSpringMacroHelpers()
Deprecated.
|
void |
setAllowRequestOverride(boolean allowRequestOverride)
Deprecated.
|
void |
setAllowSessionOverride(boolean allowSessionOverride)
Deprecated.
|
void |
setCache(boolean cache)
Deprecated.
|
void |
setCharset(java.nio.charset.Charset charset) |
void |
setCheckTemplateLocation(boolean checkTemplateLocation) |
void |
setContentType(org.springframework.util.MimeType contentType)
Deprecated.
|
void |
setEnabled(boolean enabled) |
void |
setExposeRequestAttributes(boolean exposeRequestAttributes)
Deprecated.
|
void |
setExposeSessionAttributes(boolean exposeSessionAttributes)
Deprecated.
|
void |
setExposeSpringMacroHelpers(boolean exposeSpringMacroHelpers)
Deprecated.
|
void |
setPrefix(java.lang.String prefix) |
void |
setRequestContextAttribute(java.lang.String requestContextAttribute) |
void |
setSuffix(java.lang.String suffix) |
void |
setViewNames(java.lang.String[] viewNames) |
public static final java.lang.String DEFAULT_PREFIX
public static final java.lang.String DEFAULT_SUFFIX
public MustacheProperties.Servlet getServlet()
public MustacheProperties.Reactive getReactive()
public java.lang.String getPrefix()
public void setPrefix(java.lang.String prefix)
public java.lang.String getSuffix()
public void setSuffix(java.lang.String suffix)
public java.lang.String[] getViewNames()
public void setViewNames(java.lang.String[] viewNames)
public java.lang.String getRequestContextAttribute()
public void setRequestContextAttribute(java.lang.String requestContextAttribute)
public java.nio.charset.Charset getCharset()
public java.lang.String getCharsetName()
public void setCharset(java.nio.charset.Charset charset)
public boolean isCheckTemplateLocation()
public void setCheckTemplateLocation(boolean checkTemplateLocation)
public boolean isEnabled()
public void setEnabled(boolean enabled)
@Deprecated @DeprecatedConfigurationProperty(replacement="spring.mustache.servlet.allow-request-override") public boolean isAllowRequestOverride()
@Deprecated public void setAllowRequestOverride(boolean allowRequestOverride)
@Deprecated @DeprecatedConfigurationProperty(replacement="spring.mustache.servlet.allow-session-override") public boolean isAllowSessionOverride()
@Deprecated public void setAllowSessionOverride(boolean allowSessionOverride)
@Deprecated @DeprecatedConfigurationProperty(replacement="spring.mustache.servlet.cache") public boolean isCache()
@Deprecated public void setCache(boolean cache)
@Deprecated @DeprecatedConfigurationProperty(replacement="spring.mustache.servlet.content-type") public org.springframework.util.MimeType getContentType()
@Deprecated public void setContentType(org.springframework.util.MimeType contentType)
@Deprecated @DeprecatedConfigurationProperty(replacement="spring.mustache.servlet.expose-request-attributes") public boolean isExposeRequestAttributes()
@Deprecated public void setExposeRequestAttributes(boolean exposeRequestAttributes)
@Deprecated @DeprecatedConfigurationProperty(replacement="spring.mustache.servlet.expose-session-attributes") public boolean isExposeSessionAttributes()
@Deprecated public void setExposeSessionAttributes(boolean exposeSessionAttributes)
@Deprecated @DeprecatedConfigurationProperty(replacement="spring.mustache.servlet.expose-spring-macro-helpers") public boolean isExposeSpringMacroHelpers()
@Deprecated public void setExposeSpringMacroHelpers(boolean exposeSpringMacroHelpers)