Class HttpMessageConvertersAutoConfiguration
java.lang.Object
org.springframework.boot.autoconfigure.http.HttpMessageConvertersAutoConfiguration
@AutoConfiguration(after={GsonAutoConfiguration.class,JacksonAutoConfiguration.class,JsonbAutoConfiguration.class})
@ConditionalOnClass(org.springframework.http.converter.HttpMessageConverter.class)
@Conditional(org.springframework.boot.autoconfigure.http.HttpMessageConvertersAutoConfiguration.NotReactiveWebApplicationCondition.class)
@Import({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
- Since:
- 2.0.0
- Author:
- Dave Syer, Christian Dupuis, Piotr Maj, Oliver Gierke, David Liu, Andy Wilkinson, Sebastien Deleuze, Stephane Nicoll, EddĂș MelĂ©ndez
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprotected static class
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionmessageConverters
(ObjectProvider<HttpMessageConverter<?>> converters)
-
Constructor Details
-
HttpMessageConvertersAutoConfiguration
public HttpMessageConvertersAutoConfiguration()
-
-
Method Details
-
messageConverters
@Bean @ConditionalOnMissingBean public HttpMessageConverters messageConverters(ObjectProvider<HttpMessageConverter<?>> converters)
-