Class ConfigurableContentNegotiationManagerWebMvcConfigurer
- java.lang.Object
-
- org.springframework.web.servlet.config.annotation.WebMvcConfigurerAdapter
-
- 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 org.springframework.web.servlet.config.annotation.WebMvcConfigurerAdapter implements org.springframework.context.EnvironmentAwareConfigurableContentNegotiationManagerWebMvcConfigurer- Since:
- 1.0.0
- Author:
- Mercy
- See Also:
ContentNegotiationManagerFactoryBean,ContentNegotiationManager,WebMvcConfigurerAdapter,WebMvcConfigurer,DataBinder
-
-
Constructor Summary
Constructors Constructor Description ConfigurableContentNegotiationManagerWebMvcConfigurer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidconfigureContentNegotiation(org.springframework.web.servlet.config.annotation.ContentNegotiationConfigurer configurer)protected voidconfigureContentNegotiationManagerFactoryBean(org.springframework.web.accept.ContentNegotiationManagerFactoryBean factoryBean)voidsetEnvironment(org.springframework.core.env.Environment environment)voidsetProperties(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
-
-
-
-
Method Detail
-
configureContentNegotiation
public void configureContentNegotiation(org.springframework.web.servlet.config.annotation.ContentNegotiationConfigurer configurer)
- Specified by:
configureContentNegotiationin interfaceorg.springframework.web.servlet.config.annotation.WebMvcConfigurer- Overrides:
configureContentNegotiationin classorg.springframework.web.servlet.config.annotation.WebMvcConfigurerAdapter
-
setEnvironment
public void setEnvironment(org.springframework.core.env.Environment environment)
- Specified by:
setEnvironmentin interfaceorg.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)
-
-