Package brave.okhttp3
Class TracingCallFactory
- java.lang.Object
-
- brave.okhttp3.TracingCallFactory
-
- All Implemented Interfaces:
okhttp3.Call.Factory
public final class TracingCallFactory extends java.lang.Object implements okhttp3.Call.FactoryThis internally adds an interceptor which ensures whatever current span exists is available viaTracer.currentSpanCustomizer()andTracer.currentSpan()
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static okhttp3.Call.Factorycreate(brave.http.HttpTracing httpTracing, okhttp3.OkHttpClient ok)static okhttp3.Call.Factorycreate(brave.Tracing tracing, okhttp3.OkHttpClient ok)okhttp3.CallnewCall(okhttp3.Request request)
-
-
-
Method Detail
-
create
public static okhttp3.Call.Factory create(brave.Tracing tracing, okhttp3.OkHttpClient ok)
-
create
public static okhttp3.Call.Factory create(brave.http.HttpTracing httpTracing, okhttp3.OkHttpClient ok)
-
newCall
public okhttp3.Call newCall(okhttp3.Request request)
- Specified by:
newCallin interfaceokhttp3.Call.Factory
-
-