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 Details

  • Method Details

    • okHttp3LoggingInterceptor

      @Bean @ConditionalOnMissingBean @ConditionalOnProperty(value="okhttp.logging.enabled", havingValue="true", matchIfMissing=true) public okhttp3.logging.HttpLoggingInterceptor okHttp3LoggingInterceptor(OkHttp3LoggingInterceptorProperties properties, org.springframework.beans.factory.ObjectProvider<okhttp3.logging.HttpLoggingInterceptor.Logger> logger)