@ConfigurationProperties(value="spring.mvc") public class WebMvcProperties extends Object
properties
for Spring MVC.Constructor and Description |
---|
WebMvcProperties() |
Modifier and Type | Method and Description |
---|---|
String |
getDateFormat() |
String |
getLocale() |
DefaultMessageCodesResolver.Format |
getMessageCodesResolverFormat() |
boolean |
isIgnoreDefaultModelOnRedirect() |
void |
setDateFormat(String dateFormat) |
void |
setIgnoreDefaultModelOnRedirect(boolean ignoreDefaultModelOnRedirect) |
void |
setLocale(String locale) |
void |
setMessageCodesResolverFormat(DefaultMessageCodesResolver.Format messageCodesResolverFormat) |
public DefaultMessageCodesResolver.Format getMessageCodesResolverFormat()
public void setMessageCodesResolverFormat(DefaultMessageCodesResolver.Format messageCodesResolverFormat)
public String getLocale()
public void setLocale(String locale)
public String getDateFormat()
public void setDateFormat(String dateFormat)
public boolean isIgnoreDefaultModelOnRedirect()
public void setIgnoreDefaultModelOnRedirect(boolean ignoreDefaultModelOnRedirect)
Copyright © 2015 Pivotal Software, Inc.. All rights reserved.