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
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    configureMessageConverters(List<org.springframework.http.converter.HttpMessageConverter<?>> converters)
     
    org.springframework.http.converter.json.MappingJackson2HttpMessageConverter
    Jackson 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, wait

    Methods 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:
      configureMessageConverters in interface org.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