Package energy.eddie.outbound.rest.web
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
ConstructorsConstructorDescriptionWebConfig(com.fasterxml.jackson.databind.ObjectMapper objectMapper, org.springframework.oxm.jaxb.Jaxb2Marshaller marshaller) -
Method Summary
Modifier and TypeMethodDescriptionvoidconfigureMessageConverters(List<org.springframework.http.converter.HttpMessageConverter<?>> converters) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods 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:
configureMessageConvertersin interfaceorg.springframework.web.servlet.config.annotation.WebMvcConfigurer
-