custom()介绍
2018-12-27 21:12 更新
当以上提供的现成方法都不能满足您的话,说明您是在太厉害了(啊啊啊)。那么这个方法就是完全给你自由,可以自定义数据处理器。
使用方式如下:
Object custom = response.custom(new DataHandler<Object>() {
@Override
public Object handle(Response response) throws IOException {
return null;
}
});关于DataHandler请继续往下看,后面会与介绍的哦。
以上内容是否对您有帮助:

免费 AI IDE


更多建议: