Modifier and Type | Class and Description |
---|---|
static interface |
HttpCall.BodyConverter<V> |
static class |
HttpCall.Factory |
Call.Base<V>, Call.ErrorHandler<V>, Call.FlatMapper<V1,V2>, Call.Mapper<V1,V2>
Modifier and Type | Field and Description |
---|---|
HttpCall.BodyConverter<V> |
bodyConverter |
okhttp3.Call |
call |
Modifier and Type | Method and Description |
---|---|
void |
cancel() |
HttpCall<V> |
clone() |
void |
enqueue(Callback<V> delegate) |
V |
execute() |
boolean |
isCanceled() |
static <V> V |
parseResponse(okhttp3.Response response,
HttpCall.BodyConverter<V> bodyConverter) |
create, emptyList, flatMap, handleError, map, propagateIfFatal
public final okhttp3.Call call
public final HttpCall.BodyConverter<V> bodyConverter
public V execute() throws IOException
execute
in class Call<V>
IOException
public boolean isCanceled()
isCanceled
in class Call<V>
public static <V> V parseResponse(okhttp3.Response response, HttpCall.BodyConverter<V> bodyConverter) throws IOException
IOException
Copyright © 2015–2018 OpenZipkin. All rights reserved.