@Configuration
public class WebMvcConfiguration
extends org.springframework.web.servlet.config.annotation.WebMvcConfigurationSupport
| Constructor and Description |
|---|
WebMvcConfiguration() |
| Modifier and Type | Method and Description |
|---|---|
void |
addFormatters(org.springframework.format.FormatterRegistry registry)
http request string to Object converter registry
|
void |
configureMessageConverters(List<org.springframework.http.converter.HttpMessageConverter<?>> messageConverters)
override message converters
|
addArgumentResolvers, addCorsMappings, addDefaultHandlerExceptionResolvers, addDefaultHttpMessageConverters, addInterceptors, addResourceHandlers, addReturnValueHandlers, addViewControllers, beanNameHandlerMapping, configureAsyncSupport, configureContentNegotiation, configureDefaultServletHandling, configureHandlerExceptionResolvers, configurePathMatch, configureViewResolvers, createExceptionHandlerExceptionResolver, createRequestMappingHandlerAdapter, createRequestMappingHandlerMapping, defaultServletHandlerMapping, extendHandlerExceptionResolvers, extendMessageConverters, getApplicationContext, getArgumentResolvers, getConfigurableWebBindingInitializer, getCorsConfigurations, getDefaultMediaTypes, getInterceptors, getMessageCodesResolver, getMessageConverters, getPathMatchConfigurer, getReturnValueHandlers, getServletContext, getValidator, handlerExceptionResolver, handlerFunctionAdapter, httpRequestHandlerAdapter, mvcContentNegotiationManager, mvcConversionService, mvcHandlerMappingIntrospector, mvcPathMatcher, mvcResourceUrlProvider, mvcUriComponentsContributor, mvcUrlPathHelper, mvcValidator, mvcViewResolver, requestMappingHandlerAdapter, requestMappingHandlerMapping, resourceHandlerMapping, routerFunctionMapping, setApplicationContext, setServletContext, simpleControllerHandlerAdapter, viewControllerHandlerMappingpublic void configureMessageConverters(List<org.springframework.http.converter.HttpMessageConverter<?>> messageConverters)
configureMessageConverters in class org.springframework.web.servlet.config.annotation.WebMvcConfigurationSupportpublic void addFormatters(org.springframework.format.FormatterRegistry registry)
addFormatters in class org.springframework.web.servlet.config.annotation.WebMvcConfigurationSupportCopyright © 2020. All rights reserved.