类 AbstractViewResolverProperties
java.lang.Object
org.springframework.boot.autoconfigure.template.AbstractViewResolverProperties
Base class for
@ConfigurationProperties
of a
ViewResolver
.- 从以下版本开始:
- 1.2.0
- 作者:
- Andy Wilkinson, Stephane Nicoll
- 另请参阅:
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明String[]
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)
-
构造器详细资料
-
AbstractViewResolverProperties
public AbstractViewResolverProperties()
-
-
方法详细资料
-
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
-