@ConfigurationProperties(prefix="spring.mvc") public class WebMvcProperties extends Object
properties
for Spring MVC.Modifier and Type | Class and Description |
---|---|
static class |
WebMvcProperties.Async |
static class |
WebMvcProperties.Contentnegotiation |
static class |
WebMvcProperties.Format |
static class |
WebMvcProperties.LocaleResolver |
static class |
WebMvcProperties.MatchingStrategy |
static class |
WebMvcProperties.Pathmatch |
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)
@Deprecated @DeprecatedConfigurationProperty(replacement="spring.mvc.format.date") public String getDateFormat()
@Deprecated public void setDateFormat(String dateFormat)
public WebMvcProperties.Format getFormat()
public boolean isIgnoreDefaultModelOnRedirect()
public void setIgnoreDefaultModelOnRedirect(boolean ignoreDefaultModelOnRedirect)
public boolean isPublishRequestHandledEvents()
public void setPublishRequestHandledEvents(boolean publishRequestHandledEvents)
public boolean isThrowExceptionIfNoHandlerFound()
public void setThrowExceptionIfNoHandlerFound(boolean throwExceptionIfNoHandlerFound)
public boolean isLogRequestDetails()
public void setLogRequestDetails(boolean logRequestDetails)
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()
public WebMvcProperties.Contentnegotiation getContentnegotiation()
public WebMvcProperties.Pathmatch getPathmatch()
public void checkConfiguration()