Class WebMvcProperties
java.lang.Object
org.springframework.boot.autoconfigure.web.servlet.WebMvcProperties
properties
for Spring MVC.- Since:
- 2.0.0
- Author:
- Phillip Webb, Sébastien Deleuze, Stephane Nicoll, Eddú Meléndez, Brian Clozel, Vedran Pavic
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
static class
static class
static enum
Matching strategy options.static class
static class
static class
static class
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetAsync()
getView()
boolean
boolean
boolean
boolean
boolean
boolean
Deprecated, for removal: This API element is subject to removal in a future version.void
setDispatchOptionsRequest
(boolean dispatchOptionsRequest) void
setDispatchTraceRequest
(boolean dispatchTraceRequest) void
setLogRequestDetails
(boolean logRequestDetails) void
setLogResolvedException
(boolean logResolvedException) void
setMessageCodesResolverFormat
(DefaultMessageCodesResolver.Format messageCodesResolverFormat) void
setPublishRequestHandledEvents
(boolean publishRequestHandledEvents) void
setStaticPathPattern
(String staticPathPattern) void
setThrowExceptionIfNoHandlerFound
(boolean throwExceptionIfNoHandlerFound) Deprecated, for removal: This API element is subject to removal in a future version.void
setWebjarsPathPattern
(String webjarsPathPattern)
-
Constructor Details
-
WebMvcProperties
public WebMvcProperties()
-
-
Method Details
-
getMessageCodesResolverFormat
-
setMessageCodesResolverFormat
public void setMessageCodesResolverFormat(DefaultMessageCodesResolver.Format messageCodesResolverFormat) -
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
-
setStaticPathPattern
-
getWebjarsPathPattern
-
setWebjarsPathPattern
-
getAsync
-
getServlet
-
getView
-
getContentnegotiation
-
getPathmatch
-
getProblemdetails
-