Package 

Class ChuckerInterceptor

  • All Implemented Interfaces:
    okhttp3.Interceptor

    
    public final class ChuckerInterceptor
     implements Interceptor
                        

    An OkHttp Interceptor which persists and displays HTTP activity in your application for later inspection.

    • Constructor Summary

      Constructors 
      Constructor Description
      ChuckerInterceptor(Context context) An OkHttp Interceptor which persists and displays HTTP activity in your application for later inspection.
    • Method Summary

      Modifier and Type Method Description
      final Unit redactHeader(String headerName) Adds headerName into headersToRedact
      Response intercept(Interceptor.Chain chain)
      • Methods inherited from class java.lang.Object

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

      • ChuckerInterceptor

        ChuckerInterceptor(Context context)
        An OkHttp Interceptor which persists and displays HTTP activity in your application for later inspection.
        Parameters:
        context - An Android Context