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
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
static class
static class
static enum
Matching strategy options.static class
static class
static class
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
getAsync()
Deprecated.getView()
boolean
boolean
boolean
boolean
boolean
boolean
boolean
void
setDateFormat
(String dateFormat) Deprecated.void
setDispatchOptionsRequest
(boolean dispatchOptionsRequest) void
setDispatchTraceRequest
(boolean dispatchTraceRequest) void
setIgnoreDefaultModelOnRedirect
(boolean ignoreDefaultModelOnRedirect) 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)
-
Constructor Details
-
WebMvcProperties
public WebMvcProperties()
-
-
Method Details
-
getMessageCodesResolverFormat
-
setMessageCodesResolverFormat
public void setMessageCodesResolverFormat(DefaultMessageCodesResolver.Format messageCodesResolverFormat) -
getDateFormat
@Deprecated @DeprecatedConfigurationProperty(replacement="spring.mvc.format.date") public String getDateFormat()Deprecated. -
setDateFormat
Deprecated. -
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
-
setStaticPathPattern
-
getAsync
-
getServlet
-
getView
-
getContentnegotiation
-
getPathmatch
-
checkConfiguration
public void checkConfiguration()
-