@Configuration(proxyBeanMethods=false) @ConditionalOnClass(value=org.springframework.http.converter.HttpMessageConverter.class) @Conditional(value=org.springframework.boot.autoconfigure.http.HttpMessageConvertersAutoConfiguration.NotReactiveWebApplicationCondition.class) @AutoConfigureAfter(value={GsonAutoConfiguration.class,JacksonAutoConfiguration.class,JsonbAutoConfiguration.class}) @Import(value={org.springframework.boot.autoconfigure.http.JacksonHttpMessageConvertersConfiguration.class,org.springframework.boot.autoconfigure.http.GsonHttpMessageConvertersConfiguration.class,org.springframework.boot.autoconfigure.http.JsonbHttpMessageConvertersConfiguration.class}) public class HttpMessageConvertersAutoConfiguration extends Object
Modifier and Type | Class and Description |
---|---|
protected static class |
HttpMessageConvertersAutoConfiguration.StringHttpMessageConverterConfiguration |
Constructor and Description |
---|
HttpMessageConvertersAutoConfiguration() |
Modifier and Type | Method and Description |
---|---|
HttpMessageConverters |
messageConverters(ObjectProvider<HttpMessageConverter<?>> converters) |
public HttpMessageConvertersAutoConfiguration()
@Bean @ConditionalOnMissingBean public HttpMessageConverters messageConverters(ObjectProvider<HttpMessageConverter<?>> converters)
Copyright © 2019 Pivotal Software, Inc.. All rights reserved.