Class WebConfig

java.lang.Object
energy.eddie.outbound.rest.web.WebConfig
All Implemented Interfaces:
org.springframework.web.servlet.config.annotation.WebMvcConfigurer

@Configuration @EnableWebMvc @Primary public class WebConfig extends Object implements org.springframework.web.servlet.config.annotation.WebMvcConfigurer
  • Constructor Summary

    Constructors
    Constructor
    Description
    WebConfig(com.fasterxml.jackson.databind.ObjectMapper objectMapper, org.springframework.oxm.jaxb.Jaxb2Marshaller marshaller)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    configureMessageConverters(List<org.springframework.http.converter.HttpMessageConverter<?>> converters)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface org.springframework.web.servlet.config.annotation.WebMvcConfigurer

    addArgumentResolvers, addCorsMappings, addErrorResponseInterceptors, addFormatters, addInterceptors, addResourceHandlers, addReturnValueHandlers, addViewControllers, configureAsyncSupport, configureContentNegotiation, configureDefaultServletHandling, configureHandlerExceptionResolvers, configurePathMatch, configureViewResolvers, extendHandlerExceptionResolvers, extendMessageConverters, getMessageCodesResolver, getValidator
  • Constructor Details

    • WebConfig

      public WebConfig(@Qualifier("objectMapper") com.fasterxml.jackson.databind.ObjectMapper objectMapper, org.springframework.oxm.jaxb.Jaxb2Marshaller marshaller)
  • Method Details

    • configureMessageConverters

      public void configureMessageConverters(List<org.springframework.http.converter.HttpMessageConverter<?>> converters)
      Specified by:
      configureMessageConverters in interface org.springframework.web.servlet.config.annotation.WebMvcConfigurer