Class WebMvcProperties
- java.lang.Object
- org.springframework.boot.autoconfigure.web.servlet.WebMvcProperties
@ConfigurationProperties(prefix="spring.mvc") public class WebMvcProperties extends Object
properties
for Spring MVC.- Since:
- 1.1
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
WebMvcProperties.Async
static class
WebMvcProperties.Contentnegotiation
static class
WebMvcProperties.LocaleResolver
static class
WebMvcProperties.Pathmatch
static class
WebMvcProperties.Servlet
static class
WebMvcProperties.View
Constructor Summary
Constructors Constructor Description WebMvcProperties()
Method Summary
Constructor Detail
WebMvcProperties
public WebMvcProperties()
Method Detail
getMessageCodesResolverFormat
public org.springframework.validation.DefaultMessageCodesResolver.Format getMessageCodesResolverFormat()
setMessageCodesResolverFormat
public void setMessageCodesResolverFormat(org.springframework.validation.DefaultMessageCodesResolver.Format messageCodesResolverFormat)
getLocaleResolver
public WebMvcProperties.LocaleResolver getLocaleResolver()
setLocaleResolver
public void setLocaleResolver(WebMvcProperties.LocaleResolver localeResolver)
getDateFormat
public String getDateFormat()
setDateFormat
public void setDateFormat(String dateFormat)
isIgnoreDefaultModelOnRedirect
public boolean isIgnoreDefaultModelOnRedirect()
setIgnoreDefaultModelOnRedirect
public void setIgnoreDefaultModelOnRedirect(boolean ignoreDefaultModelOnRedirect)
isThrowExceptionIfNoHandlerFound
public boolean isThrowExceptionIfNoHandlerFound()
setThrowExceptionIfNoHandlerFound
public void setThrowExceptionIfNoHandlerFound(boolean throwExceptionIfNoHandlerFound)
isLogResolvedException
public boolean isLogResolvedException()
setLogResolvedException
public void setLogResolvedException(boolean logResolvedException)
isDispatchOptionsRequest
public boolean isDispatchOptionsRequest()
setDispatchOptionsRequest
public void setDispatchOptionsRequest(boolean dispatchOptionsRequest)
isDispatchTraceRequest
public boolean isDispatchTraceRequest()
setDispatchTraceRequest
public void setDispatchTraceRequest(boolean dispatchTraceRequest)
getStaticPathPattern
public String getStaticPathPattern()
setStaticPathPattern
public void setStaticPathPattern(String staticPathPattern)
getAsync
public WebMvcProperties.Async getAsync()
getServlet
public WebMvcProperties.Servlet getServlet()
getView
public WebMvcProperties.View getView()
getContentnegotiation
public WebMvcProperties.Contentnegotiation getContentnegotiation()
getPathmatch
public WebMvcProperties.Pathmatch getPathmatch()