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()
    • isIgnoreDefaultModelOnRedirect

      @Deprecated(since="3.0.0", forRemoval=true) @DeprecatedConfigurationProperty(reason="Deprecated for removal in Spring MVC") public boolean isIgnoreDefaultModelOnRedirect()
      Deprecated, for removal: This API element is subject to removal in a future version.
    • setIgnoreDefaultModelOnRedirect

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