Class MyWebMvcConfigurationSupport

  • All Implemented Interfaces:
    org.springframework.beans.factory.Aware, org.springframework.context.ApplicationContextAware, org.springframework.web.context.ServletContextAware

    @Configuration
    public class MyWebMvcConfigurationSupport
    extends org.springframework.web.servlet.config.annotation.WebMvcConfigurationSupport
    • Constructor Summary

      Constructors 
      Constructor Description
      MyWebMvcConfigurationSupport​(com.fasterxml.jackson.databind.ObjectMapper objectMapper)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void addResourceHandlers​(org.springframework.web.servlet.config.annotation.ResourceHandlerRegistry registry)  
      void configureMessageConverters​(java.util.List<org.springframework.http.converter.HttpMessageConverter<?>> converters)  
      • Methods inherited from class org.springframework.web.servlet.config.annotation.WebMvcConfigurationSupport

        addArgumentResolvers, addCorsMappings, addDefaultHandlerExceptionResolvers, addDefaultHttpMessageConverters, addFormatters, addInterceptors, addReturnValueHandlers, addViewControllers, beanNameHandlerMapping, configureAsyncSupport, configureContentNegotiation, configureDefaultServletHandling, configureHandlerExceptionResolvers, configurePathMatch, configureViewResolvers, createExceptionHandlerExceptionResolver, createRequestMappingHandlerAdapter, createRequestMappingHandlerMapping, defaultServletHandlerMapping, extendHandlerExceptionResolvers, extendMessageConverters, flashMapManager, getApplicationContext, getArgumentResolvers, getAsyncSupportConfigurer, getConfigurableWebBindingInitializer, getCorsConfigurations, getDefaultMediaTypes, getInterceptors, getMessageCodesResolver, getMessageConverters, getPathMatchConfigurer, getReturnValueHandlers, getServletContext, getValidator, handlerExceptionResolver, handlerFunctionAdapter, httpRequestHandlerAdapter, localeResolver, mvcContentNegotiationManager, mvcConversionService, mvcHandlerMappingIntrospector, mvcPathMatcher, mvcResourceUrlProvider, mvcUriComponentsContributor, mvcUrlPathHelper, mvcValidator, mvcViewResolver, requestMappingHandlerAdapter, requestMappingHandlerMapping, resourceHandlerMapping, routerFunctionMapping, setApplicationContext, setServletContext, simpleControllerHandlerAdapter, themeResolver, viewControllerHandlerMapping, viewNameTranslator
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • MyWebMvcConfigurationSupport

        @Autowired
        public MyWebMvcConfigurationSupport​(com.fasterxml.jackson.databind.ObjectMapper objectMapper)
    • Method Detail

      • configureMessageConverters

        public void configureMessageConverters​(java.util.List<org.springframework.http.converter.HttpMessageConverter<?>> converters)
        Overrides:
        configureMessageConverters in class org.springframework.web.servlet.config.annotation.WebMvcConfigurationSupport
      • addResourceHandlers

        public void addResourceHandlers​(org.springframework.web.servlet.config.annotation.ResourceHandlerRegistry registry)
        Overrides:
        addResourceHandlers in class org.springframework.web.servlet.config.annotation.WebMvcConfigurationSupport