T - Call parameter typepublic abstract class DecoratedCall<T>
extends java.lang.Object
implements retrofit2.Call<T>
| Constructor and Description |
|---|
DecoratedCall(retrofit2.Call<T> call) |
| Modifier and Type | Method and Description |
|---|---|
void |
cancel() |
abstract retrofit2.Call<T> |
clone() |
void |
enqueue(retrofit2.Callback<T> callback) |
retrofit2.Response<T> |
execute() |
boolean |
isCanceled() |
boolean |
isExecuted() |
okhttp3.Request |
request() |
public DecoratedCall(retrofit2.Call<T> call)
public retrofit2.Response<T> execute() throws java.io.IOException
execute in interface retrofit2.Call<T>java.io.IOExceptionpublic void enqueue(retrofit2.Callback<T> callback)
enqueue in interface retrofit2.Call<T>public boolean isExecuted()
isExecuted in interface retrofit2.Call<T>public void cancel()
cancel in interface retrofit2.Call<T>public boolean isCanceled()
isCanceled in interface retrofit2.Call<T>public abstract retrofit2.Call<T> clone()
clone in interface retrofit2.Call<T>clone in class java.lang.Objectpublic okhttp3.Request request()
request in interface retrofit2.Call<T>