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