Class OkHttp3LoggingInterceptorAutoConfiguration
java.lang.Object
io.freefair.spring.okhttp.autoconfigure.logging.OkHttp3LoggingInterceptorAutoConfiguration
@AutoConfiguration(before=OkHttp3AutoConfiguration.class)
@ConditionalOnClass(okhttp3.logging.HttpLoggingInterceptor.class)
@EnableConfigurationProperties(OkHttp3LoggingInterceptorProperties.class)
public class OkHttp3LoggingInterceptorAutoConfiguration
extends Object
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionokHttp3LoggingInterceptor
(OkHttp3LoggingInterceptorProperties properties, org.springframework.beans.factory.ObjectProvider<HttpLoggingInterceptor.Logger> logger)
-
Constructor Details
-
OkHttp3LoggingInterceptorAutoConfiguration
-
-
Method Details
-
okHttp3LoggingInterceptor
@Bean @ConditionalOnMissingBean @ConditionalOnProperty(value="okhttp.logging.enabled", havingValue="true", matchIfMissing=true) public HttpLoggingInterceptor okHttp3LoggingInterceptor(OkHttp3LoggingInterceptorProperties properties, org.springframework.beans.factory.ObjectProvider<HttpLoggingInterceptor.Logger> logger)
-