类 WebMvcConfiguration

java.lang.Object
cn.iosd.starter.web.conf.WebMvcConfiguration
所有已实现的接口:
org.springframework.web.servlet.config.annotation.WebMvcConfigurer

@Configuration @ConditionalOnProperty(prefix="simple.jackson.serialize", name="enabled", havingValue="true", matchIfMissing=true) public class WebMvcConfiguration extends Object implements org.springframework.web.servlet.config.annotation.WebMvcConfigurer
作者:
ok1996
  • 构造器概要

    构造器
    构造器
    说明
     
  • 方法概要

    修饰符和类型
    方法
    说明
    void
    configureMessageConverters(List<org.springframework.http.converter.HttpMessageConverter<?>> converters)
     
    org.springframework.http.converter.json.MappingJackson2HttpMessageConverter
     

    从类继承的方法 java.lang.Object

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

    从接口继承的方法 org.springframework.web.servlet.config.annotation.WebMvcConfigurer

    addArgumentResolvers, addCorsMappings, addFormatters, addInterceptors, addResourceHandlers, addReturnValueHandlers, addViewControllers, configureAsyncSupport, configureContentNegotiation, configureDefaultServletHandling, configureHandlerExceptionResolvers, configurePathMatch, configureViewResolvers, extendHandlerExceptionResolvers, extendMessageConverters, getMessageCodesResolver, getValidator
  • 构造器详细资料

    • WebMvcConfiguration

      public WebMvcConfiguration()
  • 方法详细资料

    • configureMessageConverters

      public void configureMessageConverters(List<org.springframework.http.converter.HttpMessageConverter<?>> converters)
      指定者:
      configureMessageConverters 在接口中 org.springframework.web.servlet.config.annotation.WebMvcConfigurer
    • mappingJackson2HttpMessageConverter

      @Bean public org.springframework.http.converter.json.MappingJackson2HttpMessageConverter mappingJackson2HttpMessageConverter()