@WebConfiguration @Configuration public class MvcConfig extends org.springframework.web.servlet.config.annotation.WebMvcConfigurationSupport implements org.springframework.context.ApplicationListener<org.springframework.context.event.ContextRefreshedEvent>
| Constructor and Description |
|---|
MvcConfig() |
| Modifier and Type | Method and Description |
|---|---|
void |
configureMessageConverters(List<org.springframework.http.converter.HttpMessageConverter<?>> converters) |
org.springframework.http.converter.json.MappingJackson2HttpMessageConverter |
converter() |
org.springframework.web.multipart.commons.CommonsMultipartResolver |
multipartResolver() |
org.springframework.beans.factory.config.BeanFactoryPostProcessor |
mvcServices() |
com.fasterxml.jackson.databind.ObjectMapper |
objectMapper(org.springframework.http.converter.json.MappingJackson2HttpMessageConverter converter) |
void |
onApplicationEvent(org.springframework.context.event.ContextRefreshedEvent event) |
addArgumentResolvers, addCorsMappings, addDefaultHandlerExceptionResolvers, addDefaultHttpMessageConverters, addFormatters, addInterceptors, addResourceHandlers, addReturnValueHandlers, addViewControllers, beanNameHandlerMapping, configureAsyncSupport, configureContentNegotiation, configureDefaultServletHandling, configureHandlerExceptionResolvers, configurePathMatch, configureViewResolvers, createRequestMappingHandlerMapping, defaultServletHandlerMapping, extendMessageConverters, getApplicationContext, getConfigurableWebBindingInitializer, getCorsConfigurations, getDefaultMediaTypes, getInterceptors, getMessageCodesResolver, getMessageConverters, getPathMatchConfigurer, getServletContext, getValidator, handlerExceptionResolver, httpRequestHandlerAdapter, mvcContentNegotiationManager, mvcConversionService, mvcPathMatcher, mvcResourceUrlProvider, mvcUriComponentsContributor, mvcUrlPathHelper, mvcValidator, mvcViewResolver, requestMappingHandlerAdapter, requestMappingHandlerMapping, resourceHandlerMapping, setApplicationContext, setServletContext, simpleControllerHandlerAdapter, viewControllerHandlerMappingpublic void onApplicationEvent(org.springframework.context.event.ContextRefreshedEvent event)
onApplicationEvent in interface org.springframework.context.ApplicationListener<org.springframework.context.event.ContextRefreshedEvent>public void configureMessageConverters(List<org.springframework.http.converter.HttpMessageConverter<?>> converters)
configureMessageConverters in class org.springframework.web.servlet.config.annotation.WebMvcConfigurationSupport@Bean public com.fasterxml.jackson.databind.ObjectMapper objectMapper(org.springframework.http.converter.json.MappingJackson2HttpMessageConverter converter)
@Bean public org.springframework.http.converter.json.MappingJackson2HttpMessageConverter converter()
@Bean public org.springframework.beans.factory.config.BeanFactoryPostProcessor mvcServices()
@Bean public org.springframework.web.multipart.commons.CommonsMultipartResolver multipartResolver()
Copyright © 2015 Matsuo IT. All rights reserved.