Class AbstractViewResolverProperties
- java.lang.Object
- org.springframework.boot.autoconfigure.template.AbstractViewResolverProperties
- Direct Known Subclasses:
AbstractTemplateViewResolverProperties
public abstract class AbstractViewResolverProperties extends Object
Base class forConfigurationProperties
of 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 Charset
getCharset()
String
getCharsetName()
org.springframework.util.MimeType
getContentType()
String[]
getViewNames()
boolean
isCache()
boolean
isCheckTemplateLocation()
boolean
isEnabled()
void
setCache(boolean cache)
void
setCharset(Charset charset)
void
setCheckTemplateLocation(boolean checkTemplateLocation)
void
setContentType(org.springframework.util.MimeType contentType)
void
setEnabled(boolean enabled)
void
setViewNames(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)