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:
2.0.0
Author:
Phillip Webb, Sébastien Deleuze, Stephane Nicoll, Eddú Meléndez, Brian Clozel
  • Constructor Details

    • WebMvcProperties

      public WebMvcProperties()
  • Method Details

    • getMessageCodesResolverFormat

      public DefaultMessageCodesResolver.Format getMessageCodesResolverFormat()
    • setMessageCodesResolverFormat

      public void setMessageCodesResolverFormat(DefaultMessageCodesResolver.Format messageCodesResolverFormat)
    • getDateFormat

      @Deprecated @DeprecatedConfigurationProperty(replacement="spring.mvc.format.date") public String getDateFormat()
      Deprecated.
    • setDateFormat

      @Deprecated public void setDateFormat(String dateFormat)
      Deprecated.
    • getFormat

      public WebMvcProperties.Format getFormat()
    • isIgnoreDefaultModelOnRedirect

      public boolean isIgnoreDefaultModelOnRedirect()
    • setIgnoreDefaultModelOnRedirect

      public void setIgnoreDefaultModelOnRedirect(boolean ignoreDefaultModelOnRedirect)
    • isPublishRequestHandledEvents

      public boolean isPublishRequestHandledEvents()
    • setPublishRequestHandledEvents

      public void setPublishRequestHandledEvents(boolean publishRequestHandledEvents)
    • isThrowExceptionIfNoHandlerFound

      public boolean isThrowExceptionIfNoHandlerFound()
    • setThrowExceptionIfNoHandlerFound

      public void setThrowExceptionIfNoHandlerFound(boolean throwExceptionIfNoHandlerFound)
    • isLogRequestDetails

      public boolean isLogRequestDetails()
    • setLogRequestDetails

      public void setLogRequestDetails(boolean logRequestDetails)
    • 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()
    • checkConfiguration

      public void checkConfiguration()