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() |
MimeType |
getContentType() |
String[] |
getViewNames() |
boolean |
isCache() |
boolean |
isCheckTemplateLocation() |
boolean |
isEnabled() |
void |
setCache(boolean cache) |
void |
setCharset(Charset charset) |
void |
setCheckTemplateLocation(boolean checkTemplateLocation) |
void |
setContentType(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 MimeType getContentType()
public void setContentType(MimeType contentType)
public Charset getCharset()
public String getCharsetName()
public void setCharset(Charset charset)
Copyright © 2021 Pivotal Software, Inc.. All rights reserved.