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) public class OkHttpRestTemplateAutoConfiguration extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description OkHttpRestTemplateAutoConfiguration()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.springframework.boot.web.client.RestTemplateCustomizer
okhttp3RestTemplateCustomizer(org.springframework.http.client.OkHttp3ClientHttpRequestFactory requestFactory)
-
-
-
Method Detail
-
okhttp3RestTemplateCustomizer
@Bean @Order(2) @ConditionalOnBean(org.springframework.http.client.OkHttp3ClientHttpRequestFactory.class) public org.springframework.boot.web.client.RestTemplateCustomizer okhttp3RestTemplateCustomizer(org.springframework.http.client.OkHttp3ClientHttpRequestFactory requestFactory)
-
-