@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
Auto-configuration
for HttpMessageConverter
s.Modifier and Type | Class and Description |
---|---|
protected static class |
HttpMessageConvertersAutoConfiguration.StringHttpMessageConverterConfiguration |
Constructor and Description |
---|
HttpMessageConvertersAutoConfiguration(org.springframework.beans.factory.ObjectProvider<org.springframework.http.converter.HttpMessageConverter<?>> convertersProvider) |
Modifier and Type | Method and Description |
---|---|
HttpMessageConverters |
messageConverters() |
public HttpMessageConvertersAutoConfiguration(org.springframework.beans.factory.ObjectProvider<org.springframework.http.converter.HttpMessageConverter<?>> convertersProvider)
@Bean @ConditionalOnMissingBean public HttpMessageConverters messageConverters()
Copyright © 2020 Pivotal Software, Inc.. All rights reserved.