Package eu.europeana.apikey.config
Class WebMvcConfig
java.lang.Object
eu.europeana.apikey.config.WebMvcConfig
- All Implemented Interfaces:
org.springframework.web.servlet.config.annotation.WebMvcConfigurer
@Configuration(proxyBeanMethods=false)
public class WebMvcConfig
extends Object
implements org.springframework.web.servlet.config.annotation.WebMvcConfigurer
The type Web mvc config.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidconfigureMessageConverters(List<org.springframework.http.converter.HttpMessageConverter<?>> converters) org.springframework.http.converter.json.MappingJackson2HttpMessageConverterJackson message converter mapping jackson 2 http message converter.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, addFormatters, addInterceptors, addResourceHandlers, addReturnValueHandlers, addViewControllers, configureAsyncSupport, configureContentNegotiation, configureDefaultServletHandling, configureHandlerExceptionResolvers, configurePathMatch, configureViewResolvers, extendHandlerExceptionResolvers, extendMessageConverters, getMessageCodesResolver, getValidator
-
Constructor Details
-
WebMvcConfig
public WebMvcConfig()
-
-
Method Details
-
configureMessageConverters
public void configureMessageConverters(List<org.springframework.http.converter.HttpMessageConverter<?>> converters) - Specified by:
configureMessageConvertersin interfaceorg.springframework.web.servlet.config.annotation.WebMvcConfigurer
-
jacksonMessageConverter
public org.springframework.http.converter.json.MappingJackson2HttpMessageConverter jacksonMessageConverter()Jackson message converter mapping jackson 2 http message converter.- Returns:
- the mapping jackson 2 http message converter
-