@ConfigurationProperties(value="spring.mvc") public class WebMvcProperties extends Object
properties for Spring MVC.| Modifier and Type | Class and Description |
|---|---|
static class |
WebMvcProperties.Async |
static class |
WebMvcProperties.View |
| Constructor and Description |
|---|
WebMvcProperties() |
| Modifier and Type | Method and Description |
|---|---|
WebMvcProperties.Async |
getAsync() |
String |
getDateFormat() |
Locale |
getLocale() |
Map<String,org.springframework.http.MediaType> |
getMediaTypes() |
org.springframework.validation.DefaultMessageCodesResolver.Format |
getMessageCodesResolverFormat() |
String |
getStaticPathPattern() |
WebMvcProperties.View |
getView() |
boolean |
isDispatchOptionsRequest() |
boolean |
isDispatchTraceRequest() |
boolean |
isIgnoreDefaultModelOnRedirect() |
boolean |
isThrowExceptionIfNoHandlerFound() |
void |
setDateFormat(String dateFormat) |
void |
setDispatchOptionsRequest(boolean dispatchOptionsRequest) |
void |
setDispatchTraceRequest(boolean dispatchTraceRequest) |
void |
setIgnoreDefaultModelOnRedirect(boolean ignoreDefaultModelOnRedirect) |
void |
setLocale(Locale locale) |
void |
setMediaTypes(Map<String,org.springframework.http.MediaType> mediaTypes) |
void |
setMessageCodesResolverFormat(org.springframework.validation.DefaultMessageCodesResolver.Format messageCodesResolverFormat) |
void |
setStaticPathPattern(String staticPathPattern) |
void |
setThrowExceptionIfNoHandlerFound(boolean throwExceptionIfNoHandlerFound) |
public org.springframework.validation.DefaultMessageCodesResolver.Format getMessageCodesResolverFormat()
public void setMessageCodesResolverFormat(org.springframework.validation.DefaultMessageCodesResolver.Format messageCodesResolverFormat)
public Locale getLocale()
public void setLocale(Locale locale)
public String getDateFormat()
public void setDateFormat(String dateFormat)
public boolean isIgnoreDefaultModelOnRedirect()
public void setIgnoreDefaultModelOnRedirect(boolean ignoreDefaultModelOnRedirect)
public boolean isThrowExceptionIfNoHandlerFound()
public void setThrowExceptionIfNoHandlerFound(boolean throwExceptionIfNoHandlerFound)
public boolean isDispatchOptionsRequest()
public void setDispatchOptionsRequest(boolean dispatchOptionsRequest)
public boolean isDispatchTraceRequest()
public void setDispatchTraceRequest(boolean dispatchTraceRequest)
public String getStaticPathPattern()
public void setStaticPathPattern(String staticPathPattern)
public WebMvcProperties.Async getAsync()
public WebMvcProperties.View getView()
Copyright © 2016 Pivotal Software, Inc.. All rights reserved.