public class TraceOkHttpInterceptor extends Object implements okhttp3.Interceptor
| 构造器和说明 |
|---|
TraceOkHttpInterceptor(io.opentracing.Tracer tracer) |
TraceOkHttpInterceptor(io.opentracing.Tracer tracer,
Pattern skipPattern) |
public TraceOkHttpInterceptor(io.opentracing.Tracer tracer)
public TraceOkHttpInterceptor(io.opentracing.Tracer tracer,
Pattern skipPattern)
protected boolean isTraced(okhttp3.Request request)
public okhttp3.Response intercept(okhttp3.Interceptor.Chain chain)
throws IOException
intercept 在接口中 okhttp3.InterceptorIOExceptionCopyright © 2021. All rights reserved.