@ConfigurationProperties(prefix="spring.mustache") public class MustacheProperties extends 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 String |
DEFAULT_PREFIX |
static String |
DEFAULT_SUFFIX |
Constructor and Description |
---|
MustacheProperties() |
Modifier and Type | Method and Description |
---|---|
Charset |
getCharset() |
String |
getCharsetName() |
MimeType |
getContentType()
Deprecated.
|
String |
getPrefix() |
MustacheProperties.Reactive |
getReactive() |
String |
getRequestContextAttribute() |
MustacheProperties.Servlet |
getServlet() |
String |
getSuffix() |
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(Charset charset) |
void |
setCheckTemplateLocation(boolean checkTemplateLocation) |
void |
setContentType(MimeType contentType)
Deprecated.
|
void |
setEnabled(boolean enabled) |
void |
setExposeRequestAttributes(boolean exposeRequestAttributes)
Deprecated.
|
void |
setExposeSessionAttributes(boolean exposeSessionAttributes)
Deprecated.
|
void |
setExposeSpringMacroHelpers(boolean exposeSpringMacroHelpers)
Deprecated.
|
void |
setPrefix(String prefix) |
void |
setRequestContextAttribute(String requestContextAttribute) |
void |
setSuffix(String suffix) |
void |
setViewNames(String[] viewNames) |
public static final String DEFAULT_PREFIX
public static final String DEFAULT_SUFFIX
public MustacheProperties.Servlet getServlet()
public MustacheProperties.Reactive getReactive()
public String getPrefix()
public void setPrefix(String prefix)
public String getSuffix()
public void setSuffix(String suffix)
public String[] getViewNames()
public void setViewNames(String[] viewNames)
public String getRequestContextAttribute()
public void setRequestContextAttribute(String requestContextAttribute)
public Charset getCharset()
public String getCharsetName()
public void setCharset(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 MimeType getContentType()
@Deprecated public void setContentType(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)