Class AbstractViewResolverProperties
java.lang.Object
org.springframework.boot.autoconfigure.template.AbstractViewResolverProperties
- Direct Known Subclasses:
AbstractTemplateViewResolverProperties
Base class for
@ConfigurationProperties
of a
ViewResolver
.- Since:
- 1.2.0
- Author:
- Andy Wilkinson, Stephane Nicoll
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionString[]
boolean
isCache()
boolean
boolean
void
setCache
(boolean cache) void
setCharset
(Charset charset) void
setCheckTemplateLocation
(boolean checkTemplateLocation) void
setContentType
(MimeType contentType) void
setEnabled
(boolean enabled) void
setViewNames
(String[] viewNames)
-
Constructor Details
-
AbstractViewResolverProperties
public AbstractViewResolverProperties()
-
-
Method Details
-
setEnabled
public void setEnabled(boolean enabled) -
isEnabled
public boolean isEnabled() -
setCheckTemplateLocation
public void setCheckTemplateLocation(boolean checkTemplateLocation) -
isCheckTemplateLocation
public boolean isCheckTemplateLocation() -
getViewNames
-
setViewNames
-
isCache
public boolean isCache() -
setCache
public void setCache(boolean cache) -
getContentType
-
setContentType
-
getCharset
-
getCharsetName
-
setCharset
-