Class AbstractViewResolverProperties
- java.lang.Object
- org.springframework.boot.autoconfigure.template.AbstractViewResolverProperties
- Direct Known Subclasses:
AbstractTemplateViewResolverProperties
public abstract class AbstractViewResolverProperties extends Object
Base class forConfigurationPropertiesof aViewResolver.- Since:
- 1.2.0
- See Also:
AbstractTemplateViewResolverProperties
Constructor Summary
Constructors Constructor Description AbstractViewResolverProperties()
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CharsetgetCharset()StringgetCharsetName()org.springframework.util.MimeTypegetContentType()String[]getViewNames()booleanisCache()booleanisCheckTemplateLocation()booleanisEnabled()voidsetCache(boolean cache)voidsetCharset(Charset charset)voidsetCheckTemplateLocation(boolean checkTemplateLocation)voidsetContentType(org.springframework.util.MimeType contentType)voidsetEnabled(boolean enabled)voidsetViewNames(String[] viewNames)
Constructor Detail
AbstractViewResolverProperties
public AbstractViewResolverProperties()
Method Detail
setEnabled
public void setEnabled(boolean enabled)
isEnabled
public boolean isEnabled()
setCheckTemplateLocation
public void setCheckTemplateLocation(boolean checkTemplateLocation)
isCheckTemplateLocation
public boolean isCheckTemplateLocation()
getViewNames
public String[] getViewNames()
setViewNames
public void setViewNames(String[] viewNames)
isCache
public boolean isCache()
setCache
public void setCache(boolean cache)
getContentType
public org.springframework.util.MimeType getContentType()
setContentType
public void setContentType(org.springframework.util.MimeType contentType)
getCharset
public Charset getCharset()
getCharsetName
public String getCharsetName()
setCharset
public void setCharset(Charset charset)