类 AbstractViewResolverProperties
- java.lang.Object
- org.springframework.boot.autoconfigure.template.AbstractViewResolverProperties
public abstract class AbstractViewResolverProperties extends Object
Base class forConfigurationProperties
of aViewResolver
.- 从以下版本开始:
- 1.2.0
- 另请参阅:
AbstractTemplateViewResolverProperties
构造器概要
构造器 构造器 说明 AbstractViewResolverProperties()
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 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)
构造器详细资料
AbstractViewResolverProperties
public AbstractViewResolverProperties()
方法详细资料
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)