-
- All Implemented Interfaces:
-
okhttp3.Interceptor
public final class ChuckerInterceptor implements InterceptorAn OkHttp Interceptor which persists and displays HTTP activity in your application for later inspection.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classChuckerInterceptor.BuilderAssembles a new ChuckerInterceptor.
-
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 UnitredactHeader(String headerName)Adds headerName into headersToRedact Responseintercept(Interceptor.Chain chain)-
-
Method Detail
-
redactHeader
final Unit redactHeader(String headerName)
Adds headerName into headersToRedact
-
intercept
Response intercept(Interceptor.Chain chain)
-
-
-
-