public interface RpcDone
| 限定符和类型 | 方法和说明 |
|---|---|
void |
done(RpcPacket.ResponsePacket rpcResponse)
on done callback
|
default void |
handlerResponseIfNeedThrow(RpcPacket.ResponsePacket response)
If an exception state is returned, an exception is thrown
All response states above 400 are in error
|
void done(RpcPacket.ResponsePacket rpcResponse)
rpcResponse - rpcResponsedefault void handlerResponseIfNeedThrow(RpcPacket.ResponsePacket response) throws RpcResponseException
response - responseRpcResponseException - RpcResponseExceptionCopyright © 2020. All rights reserved.