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
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.util.MimeTypeString[]booleanisCache()booleanbooleanvoidsetCache(boolean cache) voidsetCharset(Charset charset) voidsetCheckTemplateLocation(boolean checkTemplateLocation) voidsetContentType(org.springframework.util.MimeType contentType) voidsetEnabled(boolean enabled) voidsetViewNames(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
public org.springframework.util.MimeType getContentType() -
setContentType
public void setContentType(org.springframework.util.MimeType contentType) -
getCharset
-
getCharsetName
-
setCharset
-