Class HttpCall<V>
- java.lang.Object
-
- zipkin2.Call<V>
-
- zipkin2.Call.Base<V>
-
- zipkin2.elasticsearch.internal.client.HttpCall<V>
-
- All Implemented Interfaces:
java.lang.Cloneable
public final class HttpCall<V> extends Call.Base<V>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceHttpCall.BodyConverter<V>static classHttpCall.Factory-
Nested classes/interfaces inherited from class zipkin2.Call
Call.Base<V extends java.lang.Object>, Call.ErrorHandler<V extends java.lang.Object>, Call.FlatMapper<V1 extends java.lang.Object,V2 extends java.lang.Object>, Call.Mapper<V1 extends java.lang.Object,V2 extends java.lang.Object>
-
-
Field Summary
Fields Modifier and Type Field Description HttpCall.BodyConverter<V>bodyConverterokhttp3.Callcall
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description HttpCall<V>clone()protected voiddoCancel()protected voiddoEnqueue(Callback<V> callback)protected VdoExecute()static <V> VparseResponse(okhttp3.Response response, HttpCall.BodyConverter<V> bodyConverter)java.lang.StringtoString()-
Methods inherited from class zipkin2.Call.Base
cancel, doIsCanceled, enqueue, execute, isCanceled
-
Methods inherited from class zipkin2.Call
create, emptyList, flatMap, handleError, map, propagateIfFatal
-
-
-
-
Field Detail
-
call
public final okhttp3.Call call
-
bodyConverter
public final HttpCall.BodyConverter<V> bodyConverter
-
-
Method Detail
-
doExecute
protected V doExecute() throws java.io.IOException
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
parseResponse
public static <V> V parseResponse(okhttp3.Response response, HttpCall.BodyConverter<V> bodyConverter) throws java.io.IOException- Throws:
java.io.IOException
-
-