Class BaseCommonConvertersAutoConfiguration

  • All Implemented Interfaces:
    org.springframework.web.servlet.config.annotation.WebMvcConfigurer

    @ConditionalOnWebApplication(type=SERVLET)
    @Configuration
    public class BaseCommonConvertersAutoConfiguration
    extends Object
    implements org.springframework.web.servlet.config.annotation.WebMvcConfigurer
    The base common converters auto configuration.
    Author:
    Christian Bremer
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void addFormatters​(org.springframework.format.FormatterRegistry registry)  
      void init()
      Init.
      • Methods inherited from interface org.springframework.web.servlet.config.annotation.WebMvcConfigurer

        addArgumentResolvers, addCorsMappings, addInterceptors, addResourceHandlers, addReturnValueHandlers, addViewControllers, configureAsyncSupport, configureContentNegotiation, configureDefaultServletHandling, configureHandlerExceptionResolvers, configureMessageConverters, configurePathMatch, configureViewResolvers, extendHandlerExceptionResolvers, extendMessageConverters, getMessageCodesResolver, getValidator
    • Constructor Detail

      • BaseCommonConvertersAutoConfiguration

        public BaseCommonConvertersAutoConfiguration()
    • Method Detail

      • init

        @EventListener(org.springframework.boot.context.event.ApplicationReadyEvent.class)
        public void init()
        Init.
      • addFormatters

        public void addFormatters​(@NonNull
                                  org.springframework.format.FormatterRegistry registry)
        Specified by:
        addFormatters in interface org.springframework.web.servlet.config.annotation.WebMvcConfigurer