Class OkHttpClientRequestFactoryBuilderAutoConfiguration
java.lang.Object
io.freefair.spring.okhttp.autoconfigure.OkHttpClientRequestFactoryBuilderAutoConfiguration
@AutoConfiguration(before=org.springframework.boot.autoconfigure.web.client.RestTemplateAutoConfiguration.class,
after=org.springframework.boot.autoconfigure.http.HttpMessageConvertersAutoConfiguration.class)
@ConditionalOnClass({org.springframework.boot.http.client.ClientHttpRequestFactoryBuilder.class,OkHttpClientRequestFactory.class})
public class OkHttpClientRequestFactoryBuilderAutoConfiguration
extends Object
- See Also:
-
RestTemplateAutoConfiguration
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionokHttpClientRequestFactoryBuilder
(okhttp3.OkHttpClient okHttpClient)
-
Constructor Details
-
OkHttpClientRequestFactoryBuilderAutoConfiguration
-
-
Method Details
-
okHttpClientRequestFactoryBuilder
@Bean @ConditionalOnMissingBean(org.springframework.boot.http.client.ClientHttpRequestFactoryBuilder.class) public OkHttpClientRequestFactoryBuilder okHttpClientRequestFactoryBuilder(okhttp3.OkHttpClient okHttpClient)
-