public abstract class AbstractViewResolverProperties
extends java.lang.Object
@ConfigurationProperties of a
ViewResolver.AbstractTemplateViewResolverProperties| Constructor and Description |
|---|
AbstractViewResolverProperties() |
| Modifier and Type | Method and Description |
|---|---|
java.nio.charset.Charset |
getCharset() |
java.lang.String |
getCharsetName() |
org.springframework.util.MimeType |
getContentType() |
java.lang.String[] |
getViewNames() |
boolean |
isCache() |
boolean |
isCheckTemplateLocation() |
boolean |
isEnabled() |
void |
setCache(boolean cache) |
void |
setCharset(java.nio.charset.Charset charset) |
void |
setCheckTemplateLocation(boolean checkTemplateLocation) |
void |
setContentType(org.springframework.util.MimeType contentType) |
void |
setEnabled(boolean enabled) |
void |
setViewNames(java.lang.String[] viewNames) |
public void setEnabled(boolean enabled)
public boolean isEnabled()
public void setCheckTemplateLocation(boolean checkTemplateLocation)
public boolean isCheckTemplateLocation()
public java.lang.String[] getViewNames()
public void setViewNames(java.lang.String[] viewNames)
public boolean isCache()
public void setCache(boolean cache)
public org.springframework.util.MimeType getContentType()
public void setContentType(org.springframework.util.MimeType contentType)
public java.nio.charset.Charset getCharset()
public java.lang.String getCharsetName()
public void setCharset(java.nio.charset.Charset charset)