@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
Modifier and Type | Class and Description |
---|---|
protected static class |
HttpMessageConvertersAutoConfiguration.StringHttpMessageConverterConfiguration |
Constructor and Description |
---|
HttpMessageConvertersAutoConfiguration() |
Modifier and Type | Method and Description |
---|---|
HttpMessageConverters |
messageConverters() |
public HttpMessageConvertersAutoConfiguration()
@Bean @ConditionalOnMissingBean public HttpMessageConverters messageConverters()
Copyright © 2019 Pivotal Software, Inc.. All rights reserved.