public abstract class AbstractViewResolverProperties extends Object
@ConfigurationProperties
of a
ViewResolver
.AbstractTemplateViewResolverProperties
Constructor and Description |
---|
AbstractViewResolverProperties() |
Modifier and Type | Method and 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) |
public void setEnabled(boolean enabled)
public boolean isEnabled()
public void setCheckTemplateLocation(boolean checkTemplateLocation)
public boolean isCheckTemplateLocation()
public String[] getViewNames()
public void setViewNames(String[] viewNames)
public boolean isCache()
public void setCache(boolean cache)
public org.springframework.util.MimeType getContentType()
public void setContentType(org.springframework.util.MimeType contentType)
public Charset getCharset()
public String getCharsetName()
public void setCharset(Charset charset)
Copyright © 2019 Pivotal Software, Inc.. All rights reserved.