Class ConfigurableContentNegotiationManagerWebMvcConfigurer

java.lang.Object
io.microsphere.spring.webmvc.config.ConfigurableContentNegotiationManagerWebMvcConfigurer
All Implemented Interfaces:
org.springframework.beans.factory.Aware, org.springframework.context.EnvironmentAware, org.springframework.web.servlet.config.annotation.WebMvcConfigurer

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

    Constructors
  • Method Summary

    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
     

    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, addErrorResponseInterceptors, addFormatters, addInterceptors, addResourceHandlers, addReturnValueHandlers, addViewControllers, configureAsyncSupport, configureDefaultServletHandling, configureHandlerExceptionResolvers, configureMessageConverters, configurePathMatch, configureViewResolvers, extendHandlerExceptionResolvers, extendMessageConverters, getMessageCodesResolver, getValidator
  • Constructor Details

    • ConfigurableContentNegotiationManagerWebMvcConfigurer

      public ConfigurableContentNegotiationManagerWebMvcConfigurer()
  • Method Details

    • configureContentNegotiation

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

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

      public void setProperties(Map<String,Object> properties)
    • configureContentNegotiationManagerFactoryBean

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