@Configuration @ConditionalOnClass(value=org.springframework.http.converter.HttpMessageConverter.class) @Import(value={org.springframework.boot.autoconfigure.http.JacksonHttpMessageConvertersConfiguration.class,org.springframework.boot.autoconfigure.http.GsonHttpMessageConvertersConfiguration.class}) public class HttpMessageConvertersAutoConfiguration extends Object
Modifier and Type | Class and Description |
---|---|
protected static class |
HttpMessageConvertersAutoConfiguration.StringHttpMessageConverterConfiguration |
Constructor and Description |
---|
HttpMessageConvertersAutoConfiguration(ObjectProvider<List<HttpMessageConverter<?>>> convertersProvider) |
Modifier and Type | Method and Description |
---|---|
HttpMessageConverters |
messageConverters() |
public HttpMessageConvertersAutoConfiguration(ObjectProvider<List<HttpMessageConverter<?>>> convertersProvider)
@Bean @ConditionalOnMissingBean public HttpMessageConverters messageConverters()
Copyright © 2017 Pivotal Software, Inc.. All rights reserved.