public abstract class AbstractViewResolverProperties extends Object
ConfigurationProperties
of a ViewResolver
.AbstractTemplateViewResolverProperties
Constructor and Description |
---|
AbstractViewResolverProperties() |
Modifier and Type | Method and Description |
---|---|
String |
getCharset() |
String |
getCharSet()
Deprecated.
since 1.2.0 in favor of
getCharset() |
String |
getContentType() |
String[] |
getViewNames() |
boolean |
isCache() |
boolean |
isCheckTemplateLocation() |
boolean |
isEnabled() |
void |
setCache(boolean cache) |
void |
setCharset(String charset) |
void |
setCharSet(String charSet)
Deprecated.
since 1.2.0 in favor of
setCharset(String) |
void |
setCheckTemplateLocation(boolean checkTemplateLocation) |
void |
setContentType(String 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 String getContentType()
public void setContentType(String contentType)
@Deprecated public String getCharSet()
getCharset()
@Deprecated public void setCharSet(String charSet)
setCharset(String)
charSet
- the charsetpublic String getCharset()
public void setCharset(String charset)
Copyright © 2015 Pivotal Software, Inc.. All rights reserved.