Class Slf4jLoggingInterceptor

  • All Implemented Interfaces:
    okhttp3.Interceptor

    public class Slf4jLoggingInterceptor
    extends Object
    implements okhttp3.Interceptor
    Logging Interceptor
    • Constructor Detail

      • Slf4jLoggingInterceptor

        public Slf4jLoggingInterceptor()
    • Method Detail

      • intercept

        @NotNull
        public okhttp3.Response intercept​(okhttp3.Interceptor.Chain chain)
                                   throws IOException
        Specified by:
        intercept in interface okhttp3.Interceptor
        Throws:
        IOException
      • HandleLoggingInterceptor

        public static void HandleLoggingInterceptor​(okhttp3.OkHttpClient.Builder clientBuilder,
                                                    String logOption)