类的使用
net.dongliu.xhttp.json.TypeToken
-
-
net.dongliu.xhttp.json中TypeToken的使用
参数类型为TypeToken的net.dongliu.xhttp.json中的方法 修饰符和类型 方法 说明 <T> net.dongliu.xhttp.AsyncResponseHandler<T>JsonProcessor. asyncResponseHandler(TypeToken<T> typeToken)Return a AsyncResponseHandler, which deserialize json from ByteBuffers async, with charset and type.<T> net.dongliu.xhttp.ResponseHandler<T>JsonProcessor. responseHandler(TypeToken<T> type)Return a ResponseHandler, which deserialize json with charset and type.
-