@Configuration @ConditionalOnClass(value=org.springframework.http.converter.HttpMessageConverter.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(ObjectProvider<HttpMessageConverter<?>> convertersProvider) |
Modifier and Type | Method and Description |
---|---|
HttpMessageConverters |
messageConverters() |
public HttpMessageConvertersAutoConfiguration(ObjectProvider<HttpMessageConverter<?>> convertersProvider)
@Bean @ConditionalOnMissingBean public HttpMessageConverters messageConverters()
Copyright © 2018 Pivotal Software, Inc.. All rights reserved.