Package io.freefair.spring.okhttp
Class OkHttpRestTemplateAutoConfiguration
- java.lang.Object
-
- io.freefair.spring.okhttp.OkHttpRestTemplateAutoConfiguration
-
@Configuration @ConditionalOnClass({org.springframework.boot.web.client.RestTemplateCustomizer.class,org.springframework.web.client.RestTemplate.class}) @AutoConfigureBefore(org.springframework.boot.autoconfigure.web.client.RestTemplateAutoConfiguration.class) @AutoConfigureAfter(org.springframework.boot.autoconfigure.http.HttpMessageConvertersAutoConfiguration.class) public class OkHttpRestTemplateAutoConfiguration extends Object
- See Also:
RestTemplateAutoConfiguration
-
-
Constructor Summary
Constructors Constructor Description OkHttpRestTemplateAutoConfiguration(org.springframework.beans.factory.ObjectProvider<org.springframework.boot.autoconfigure.http.HttpMessageConverters> messageConverters, org.springframework.beans.factory.ObjectProvider<org.springframework.boot.web.client.RestTemplateCustomizer> restTemplateCustomizers)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.springframework.boot.web.client.RestTemplateBuilder
okHttpRestTemplateBuilder(okhttp3.OkHttpClient okHttpClient)
-
-
-
Constructor Detail
-
OkHttpRestTemplateAutoConfiguration
public OkHttpRestTemplateAutoConfiguration(org.springframework.beans.factory.ObjectProvider<org.springframework.boot.autoconfigure.http.HttpMessageConverters> messageConverters, org.springframework.beans.factory.ObjectProvider<org.springframework.boot.web.client.RestTemplateCustomizer> restTemplateCustomizers)
-
-