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:
-
ContentNegotiationManagerFactoryBeanContentNegotiationManagerWebMvcConfigurerDataBinder
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidconfigureContentNegotiation(org.springframework.web.servlet.config.annotation.ContentNegotiationConfigurer configurer) protected voidconfigureContentNegotiationManagerFactoryBean(org.springframework.web.accept.ContentNegotiationManagerFactoryBean factoryBean) voidsetEnvironment(org.springframework.core.env.Environment environment) voidsetProperties(Map<String, Object> properties) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods 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:
configureContentNegotiationin interfaceorg.springframework.web.servlet.config.annotation.WebMvcConfigurer
-
setEnvironment
public void setEnvironment(org.springframework.core.env.Environment environment) - Specified by:
setEnvironmentin interfaceorg.springframework.context.EnvironmentAware
-
setProperties
-
configureContentNegotiationManagerFactoryBean
protected void configureContentNegotiationManagerFactoryBean(org.springframework.web.accept.ContentNegotiationManagerFactoryBean factoryBean)
-