@Configuration @ConditionalOnClass(value=org.springframework.http.converter.HttpMessageConverter.class) @Import(value={org.springframework.boot.autoconfigure.web.JacksonHttpMessageConvertersConfiguration.class,org.springframework.boot.autoconfigure.web.GsonHttpMessageConvertersConfiguration.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<List<org.springframework.http.converter.HttpMessageConverter<?>>> convertersProvider) |
Modifier and Type | Method and Description |
---|---|
HttpMessageConverters |
messageConverters() |
public HttpMessageConvertersAutoConfiguration(org.springframework.beans.factory.ObjectProvider<List<org.springframework.http.converter.HttpMessageConverter<?>>> convertersProvider)
@Bean @ConditionalOnMissingBean public HttpMessageConverters messageConverters()
Copyright © 2017 Pivotal Software, Inc.. All rights reserved.