@FunctionalInterface public interface OnSuccess<T>
Modifier and Type | Method and Description |
---|---|
void |
onSuccess(T data,
ForestRequest req,
ForestResponse res)
请求成功后调用该方法
|
void onSuccess(T data, ForestRequest req, ForestResponse res)
data
- 请求响应返回后经过序列化后的数据req
- Forest请求对象res
- Forest响应对象Copyright © 2022. All rights reserved.