當(dāng)以上提供的現(xiàn)成方法都不能滿足您的話,說(shuō)明您是在太厲害了(啊啊啊)。那么這個(gè)方法就是完全給你自由,可以自定義數(shù)據(jù)處理器。
使用方式如下:
Object custom = response.custom(new DataHandler<Object>() { @Override public Object handle(Response response) throws IOException { return null; } });
關(guān)于DataHandler請(qǐng)繼續(xù)往下看,后面會(huì)與介紹的哦。
更多建議: