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
Deprecated, for removal: This API element is subject to removal in a future version.boolean
boolean
boolean
boolean
void
setDispatchOptionsRequest
(boolean dispatchOptionsRequest) void
setDispatchTraceRequest
(boolean dispatchTraceRequest) void
setIgnoreDefaultModelOnRedirect
(boolean ignoreDefaultModelOnRedirect) Deprecated, for removal: This API element is subject to removal in a future version.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) void
setWebjarsPathPattern
(String webjarsPathPattern)
-
Constructor Details
-
WebMvcProperties
public WebMvcProperties()
-
-
Method Details
-
getMessageCodesResolverFormat
-
setMessageCodesResolverFormat
public void setMessageCodesResolverFormat(DefaultMessageCodesResolver.Format messageCodesResolverFormat) -
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
-
setStaticPathPattern
-
getWebjarsPathPattern
-
setWebjarsPathPattern
-
getAsync
-
getServlet
-
getView
-
getContentnegotiation
-
getPathmatch
-
getProblemdetails
-