| 构造器和说明 |
|---|
DefaultCall(AsynReturn asynReturn,
NettyClient nettyClient,
InetSocketAddress inetSocketAddress) |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
cancel() |
Response<T> |
execute() |
void |
execute(Callback<T> callback) |
Callback<T> |
getCallback() |
Response<T> |
getResponse() |
Throwable |
getThrowable() |
boolean |
isCanceled() |
boolean |
isExecuted() |
boolean |
isSuccess() |
void |
setResponse(Response<T> response) |
void |
setThrowable(Throwable throwable) |
void |
throwThrowable() |
public DefaultCall(AsynReturn asynReturn, NettyClient nettyClient, InetSocketAddress inetSocketAddress)
public boolean isExecuted()
isExecuted 在接口中 Call<T>public boolean isCanceled()
isCanceled 在接口中 Call<T>public void setThrowable(Throwable throwable)
public Throwable getThrowable()
getThrowable 在接口中 Call<T>public void throwThrowable()
throwThrowable 在接口中 Call<T>Copyright © 2021. All rights reserved.