Class OkHttpRestClientAutoConfiguration
java.lang.Object
io.freefair.spring.okhttp.autoconfigure.OkHttpRestClientAutoConfiguration
@AutoConfiguration
@ConditionalOnClass({org.springframework.boot.web.client.RestClientCustomizer.class,org.springframework.web.client.RestClient.class,OkHttpClientRequestFactory.class})
@Conditional(io.freefair.spring.okhttp.autoconfigure.NotReactiveWebApplicationCondition.class)
public class OkHttpRestClientAutoConfiguration
extends Object
- See Also:
-
RestClientAutoConfiguration
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.boot.web.client.RestClientCustomizer
okHttpRestClientCustomizer
(okhttp3.OkHttpClient okHttpClient)
-
Constructor Details
-
OkHttpRestClientAutoConfiguration
public OkHttpRestClientAutoConfiguration()
-
-
Method Details
-
okHttpRestClientCustomizer
@Bean public org.springframework.boot.web.client.RestClientCustomizer okHttpRestClientCustomizer(okhttp3.OkHttpClient okHttpClient)
-