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
Nested ClassesModifier and TypeClassDescriptionstatic classstatic classstatic classstatic enumMatching strategy options.static classstatic classstatic class -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidgetAsync()Deprecated.getView()booleanbooleanbooleanbooleanbooleanbooleanbooleanvoidsetDateFormat(String dateFormat) Deprecated.voidsetDispatchOptionsRequest(boolean dispatchOptionsRequest) voidsetDispatchTraceRequest(boolean dispatchTraceRequest) voidsetIgnoreDefaultModelOnRedirect(boolean ignoreDefaultModelOnRedirect) voidsetLogRequestDetails(boolean logRequestDetails) voidsetLogResolvedException(boolean logResolvedException) voidsetMessageCodesResolverFormat(DefaultMessageCodesResolver.Format messageCodesResolverFormat) voidsetPublishRequestHandledEvents(boolean publishRequestHandledEvents) voidsetStaticPathPattern(String staticPathPattern) voidsetThrowExceptionIfNoHandlerFound(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()
-