@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.LocaleResolver |
static class |
WebMvcProperties.Servlet |
static class |
WebMvcProperties.View |
Constructor and Description |
---|
WebMvcProperties() |
public DefaultMessageCodesResolver.Format getMessageCodesResolverFormat()
public void setMessageCodesResolverFormat(DefaultMessageCodesResolver.Format messageCodesResolverFormat)
public Locale getLocale()
public void setLocale(Locale locale)
public WebMvcProperties.LocaleResolver getLocaleResolver()
public void setLocaleResolver(WebMvcProperties.LocaleResolver localeResolver)
public String getDateFormat()
public void setDateFormat(String dateFormat)
public boolean isIgnoreDefaultModelOnRedirect()
public void setIgnoreDefaultModelOnRedirect(boolean ignoreDefaultModelOnRedirect)
public boolean isThrowExceptionIfNoHandlerFound()
public void setThrowExceptionIfNoHandlerFound(boolean throwExceptionIfNoHandlerFound)
public boolean isLogResolvedException()
public void setLogResolvedException(boolean logResolvedException)
public boolean isDispatchOptionsRequest()
public void setDispatchOptionsRequest(boolean dispatchOptionsRequest)
public boolean isDispatchTraceRequest()
public void setDispatchTraceRequest(boolean dispatchTraceRequest)
public String getStaticPathPattern()
public void setStaticPathPattern(String staticPathPattern)
public WebMvcProperties.Async getAsync()
public WebMvcProperties.Servlet getServlet()
public WebMvcProperties.View getView()
Copyright © 2017 Pivotal Software, Inc.. All rights reserved.