类 ConfigurableContentNegotiationManagerWebMvcConfigurer

  • 所有已实现的接口:
    org.springframework.web.servlet.config.annotation.WebMvcConfigurer

    public class ConfigurableContentNegotiationManagerWebMvcConfigurer
    extends org.springframework.web.servlet.config.annotation.WebMvcConfigurerAdapter
    Configurable ContentNegotiationManager WebMvcConfigurer
    从以下版本开始:
    2017.03.23
    作者:
    Mercy
    另请参阅:
    ContentNegotiationManager, WebMvcConfigurer
    • 方法概要

      所有方法 静态方法 实例方法 具体方法 
      修饰符和类型 方法 说明
      void configureContentNegotiation​(org.springframework.web.servlet.config.annotation.ContentNegotiationConfigurer configurer)  
      protected void configureContentNegotiationManagerFactoryBean​(org.springframework.web.accept.ContentNegotiationManagerFactoryBean factoryBean)  
      static java.util.Map<java.lang.String,​java.lang.Object> resolveNestedMap​(java.util.Map<java.lang.String,​java.lang.String> properties)
      properties.put("a.b.1", "1"); properties.put("a.b.2", "2"); properties.put("d.e.f.1", "1"); properties.put("d.e.f.2", "2"); properties.put("d.e.f.3", "3"); resolved result : {a={b={1=1, 2=2}}, d={e={f={1=1, 2=2, 3=3}}}}
      • 从类继承的方法 org.springframework.web.servlet.config.annotation.WebMvcConfigurerAdapter

        addArgumentResolvers, addCorsMappings, addFormatters, addInterceptors, addResourceHandlers, addReturnValueHandlers, addViewControllers, configureAsyncSupport, configureDefaultServletHandling, configureHandlerExceptionResolvers, configureMessageConverters, configurePathMatch, configureViewResolvers, extendHandlerExceptionResolvers, extendMessageConverters, getMessageCodesResolver, getValidator
      • 从类继承的方法 java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • 构造器详细资料

      • ConfigurableContentNegotiationManagerWebMvcConfigurer

        public ConfigurableContentNegotiationManagerWebMvcConfigurer​(java.util.Map<java.lang.String,​java.lang.String> properties)
    • 方法详细资料

      • configureContentNegotiation

        public void configureContentNegotiation​(org.springframework.web.servlet.config.annotation.ContentNegotiationConfigurer configurer)
        指定者:
        configureContentNegotiation 在接口中 org.springframework.web.servlet.config.annotation.WebMvcConfigurer
        覆盖:
        configureContentNegotiation 在类中 org.springframework.web.servlet.config.annotation.WebMvcConfigurerAdapter
      • configureContentNegotiationManagerFactoryBean

        protected void configureContentNegotiationManagerFactoryBean​(org.springframework.web.accept.ContentNegotiationManagerFactoryBean factoryBean)
      • resolveNestedMap

        public static java.util.Map<java.lang.String,​java.lang.Object> resolveNestedMap​(java.util.Map<java.lang.String,​java.lang.String> properties)
        properties.put("a.b.1", "1"); properties.put("a.b.2", "2"); properties.put("d.e.f.1", "1"); properties.put("d.e.f.2", "2"); properties.put("d.e.f.3", "3"); resolved result : {a={b={1=1, 2=2}}, d={e={f={1=1, 2=2, 3=3}}}}
        参数:
        properties - Properties
        返回:
        Resolved properties