类 ConfigurableContentNegotiationManagerWebMvcConfigurer
- java.lang.Object
-
- org.springframework.web.servlet.config.annotation.WebMvcConfigurerAdapter
-
- io.microsphere.spring.webmvc.config.ConfigurableContentNegotiationManagerWebMvcConfigurer
-
- 所有已实现的接口:
org.springframework.web.servlet.config.annotation.WebMvcConfigurer
public class ConfigurableContentNegotiationManagerWebMvcConfigurer extends org.springframework.web.servlet.config.annotation.WebMvcConfigurerAdapter
ConfigurableContentNegotiationManager
WebMvcConfigurer
- 从以下版本开始:
- 2017.03.23
- 作者:
- Mercy
- 另请参阅:
ContentNegotiationManager
,WebMvcConfigurer
-
-
构造器概要
构造器 构造器 说明 ConfigurableContentNegotiationManagerWebMvcConfigurer(java.util.Map<java.lang.String,java.lang.String> properties)
-
方法概要
所有方法 静态方法 实例方法 具体方法 修饰符和类型 方法 说明 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
-
-
-
-
方法详细资料
-
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
-
-