Class WebMvcConfig
- java.lang.Object
-
- de.adorsys.xs2a.adapter.rest.impl.config.WebMvcConfig
-
- All Implemented Interfaces:
org.springframework.web.servlet.config.annotation.WebMvcConfigurer
@Configuration public class WebMvcConfig extends Object implements org.springframework.web.servlet.config.annotation.WebMvcConfigurer
-
-
Constructor Summary
Constructors Constructor Description WebMvcConfig()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddFormatters(org.springframework.format.FormatterRegistry registry)voidaddViewControllers(org.springframework.web.servlet.config.annotation.ViewControllerRegistry registry)voidconfigureMessageConverters(List<org.springframework.http.converter.HttpMessageConverter<?>> converters)static com.fasterxml.jackson.databind.ObjectMappernewConfiguredObjectMapper()com.fasterxml.jackson.databind.ObjectMapperobjectMapper()-
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, addInterceptors, addResourceHandlers, addReturnValueHandlers, configureAsyncSupport, configureContentNegotiation, configureDefaultServletHandling, configureHandlerExceptionResolvers, configurePathMatch, configureViewResolvers, extendHandlerExceptionResolvers, extendMessageConverters, getMessageCodesResolver, getValidator
-
-
-
-
Method Detail
-
addViewControllers
public void addViewControllers(org.springframework.web.servlet.config.annotation.ViewControllerRegistry registry)
- Specified by:
addViewControllersin interfaceorg.springframework.web.servlet.config.annotation.WebMvcConfigurer
-
addFormatters
public void addFormatters(org.springframework.format.FormatterRegistry registry)
- Specified by:
addFormattersin interfaceorg.springframework.web.servlet.config.annotation.WebMvcConfigurer
-
configureMessageConverters
public void configureMessageConverters(List<org.springframework.http.converter.HttpMessageConverter<?>> converters)
- Specified by:
configureMessageConvertersin interfaceorg.springframework.web.servlet.config.annotation.WebMvcConfigurer
-
objectMapper
@Bean public com.fasterxml.jackson.databind.ObjectMapper objectMapper()
-
newConfiguredObjectMapper
public static com.fasterxml.jackson.databind.ObjectMapper newConfiguredObjectMapper()
-
-