Package 

Class MenigaHttpLogger

  • All Implemented Interfaces:
    okhttp3.Interceptor

    
    public class MenigaHttpLogger
     implements Interceptor
                        

    Copyright 2017 Meniga Iceland Inc. An OkHttp interceptor that logs requests and responses. Supports logging headers and/or body.

    • Method Summary

      Modifier and Type Method Description
      Response intercept(Interceptor.Chain chain)
      static boolean isPlaintext(Buffer buffer)
      • Methods inherited from class okhttp3.Interceptor

        intercept
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • intercept

         Response intercept(Interceptor.Chain chain)
      • isPlaintext

         static boolean isPlaintext(Buffer buffer)