Class ConfigurableContentNegotiationManagerWebMvcConfigurer

  • All Implemented Interfaces:
    org.springframework.beans.factory.Aware, org.springframework.context.EnvironmentAware, org.springframework.web.servlet.config.annotation.WebMvcConfigurer

    public class ConfigurableContentNegotiationManagerWebMvcConfigurer
    extends org.springframework.web.servlet.config.annotation.WebMvcConfigurerAdapter
    implements org.springframework.context.EnvironmentAware
    Configurable ContentNegotiationManager WebMvcConfigurer
    Since:
    1.0.0
    Author:
    Mercy
    See Also:
    ContentNegotiationManagerFactoryBean, ContentNegotiationManager, WebMvcConfigurerAdapter, WebMvcConfigurer, DataBinder
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void configureContentNegotiation​(org.springframework.web.servlet.config.annotation.ContentNegotiationConfigurer configurer)  
      protected void configureContentNegotiationManagerFactoryBean​(org.springframework.web.accept.ContentNegotiationManagerFactoryBean factoryBean)  
      void setEnvironment​(org.springframework.core.env.Environment environment)  
      void setProperties​(java.util.Map<java.lang.String,​java.lang.Object> properties)  
      • Methods inherited from class org.springframework.web.servlet.config.annotation.WebMvcConfigurerAdapter

        addArgumentResolvers, addCorsMappings, addFormatters, addInterceptors, addResourceHandlers, addReturnValueHandlers, addViewControllers, configureAsyncSupport, configureDefaultServletHandling, configureHandlerExceptionResolvers, configureMessageConverters, configurePathMatch, configureViewResolvers, extendHandlerExceptionResolvers, extendMessageConverters, getMessageCodesResolver, getValidator
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ConfigurableContentNegotiationManagerWebMvcConfigurer

        public ConfigurableContentNegotiationManagerWebMvcConfigurer()
    • Method Detail

      • configureContentNegotiation

        public void configureContentNegotiation​(org.springframework.web.servlet.config.annotation.ContentNegotiationConfigurer configurer)
        Specified by:
        configureContentNegotiation in interface org.springframework.web.servlet.config.annotation.WebMvcConfigurer
        Overrides:
        configureContentNegotiation in class org.springframework.web.servlet.config.annotation.WebMvcConfigurerAdapter
      • setEnvironment

        public void setEnvironment​(org.springframework.core.env.Environment environment)
        Specified by:
        setEnvironment in interface org.springframework.context.EnvironmentAware
      • setProperties

        public void setProperties​(java.util.Map<java.lang.String,​java.lang.Object> properties)
      • configureContentNegotiationManagerFactoryBean

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