Class OkHttp3LoggingInterceptorAutoConfiguration
- java.lang.Object
-
- io.freefair.spring.okhttp.logging.OkHttp3LoggingInterceptorAutoConfiguration
-
@Configuration(proxyBeanMethods=false) @ConditionalOnClass(okhttp3.logging.HttpLoggingInterceptor.class) @AutoConfigureBefore(OkHttp3AutoConfiguration.class) @EnableConfigurationProperties(OkHttp3LoggingInterceptorProperties.class) public class OkHttp3LoggingInterceptorAutoConfiguration extends Object
-
-
Constructor Summary
Constructors Constructor Description OkHttp3LoggingInterceptorAutoConfiguration()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description HttpLoggingInterceptor
okHttp3LoggingInterceptor(OkHttp3LoggingInterceptorProperties properties, ObjectProvider<HttpLoggingInterceptor.Logger> logger)
-
-
-
Method Detail
-
okHttp3LoggingInterceptor
@Bean @ConditionalOnMissingBean @ConditionalOnProperty(value="okhttp.logging.enabled", havingValue="true", matchIfMissing=true) public HttpLoggingInterceptor okHttp3LoggingInterceptor(OkHttp3LoggingInterceptorProperties properties, ObjectProvider<HttpLoggingInterceptor.Logger> logger)
-
-