| 程序包 | 说明 |
|---|---|
| com.alipay.sofa.rpc.core.invoke | |
| com.alipay.sofa.rpc.core.request | |
| com.alipay.sofa.rpc.message.bolt |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
SofaResponseCallback.onAppException(Throwable throwable,
String methodName,
RequestBase request)
SOFA RPC will callback this method when server meet exception
|
void |
SofaResponseCallback.onAppResponse(Object appResponse,
String methodName,
RequestBase request)
SOFA RPC will callback this method when server return response success
|
void |
SofaResponseCallback.onSofaException(SofaRpcException sofaException,
String methodName,
RequestBase request)
SOFA RPC will callback this method when framework meet exception
|
| 限定符和类型 | 类和说明 |
|---|---|
class |
SofaRequest
Based on RequestBase, add some extensional properties, such as requestProps
INFO: this object will create in every RPC request
|
| 限定符和类型 | 方法和说明 |
|---|---|
void |
BoltSendableResponseCallback.onAppException(Throwable throwable,
String methodName,
RequestBase request) |
void |
BoltSendableResponseCallback.onSofaException(SofaRpcException sofaException,
String methodName,
RequestBase request) |
Copyright © 2008–2018 The Ant Financial. All rights reserved.