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, Vedran Pavic
  • Constructor Details

    • WebMvcProperties

      public WebMvcProperties()
  • Method Details

    • getMessageCodesResolverFormat

      public DefaultMessageCodesResolver.Format getMessageCodesResolverFormat()
    • setMessageCodesResolverFormat

      public void setMessageCodesResolverFormat(DefaultMessageCodesResolver.Format messageCodesResolverFormat)
    • getFormat

      public WebMvcProperties.Format getFormat()
    • isPublishRequestHandledEvents

      public boolean isPublishRequestHandledEvents()
    • setPublishRequestHandledEvents

      public void setPublishRequestHandledEvents(boolean publishRequestHandledEvents)
    • isThrowExceptionIfNoHandlerFound

      @Deprecated(since="3.2.0", forRemoval=true) @DeprecatedConfigurationProperty(reason="DispatcherServlet property is deprecated for removal and should no longer need to be configured", since="3.2.0") public boolean isThrowExceptionIfNoHandlerFound()
      Deprecated, for removal: This API element is subject to removal in a future version.
    • setThrowExceptionIfNoHandlerFound

      @Deprecated(since="3.2.0", forRemoval=true) public void setThrowExceptionIfNoHandlerFound(boolean throwExceptionIfNoHandlerFound)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • 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)
    • getWebjarsPathPattern

      public String getWebjarsPathPattern()
    • setWebjarsPathPattern

      public void setWebjarsPathPattern(String webjarsPathPattern)
    • 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()
    • getProblemdetails

      public WebMvcProperties.Problemdetails getProblemdetails()