接口 ResponseDelivery
- 所有已知实现类:
ExecutorDelivery
public interface ResponseDelivery
-
方法概要
修饰符和类型方法说明voidpostError(Request<?> request, VolleyError error) Posts an error for the given request.voidpostResponse(Request<?> request, Response<?> response) Parses a response from the network or cache and delivers it.voidpostResponse(Request<?> request, Response<?> response, Runnable runnable) Parses a response from the network or cache and delivers it.
-
方法详细资料
-
postResponse
Parses a response from the network or cache and delivers it. -
postResponse
Parses a response from the network or cache and delivers it. The provided Runnable will be executed after delivery. -
postError
Posts an error for the given request.
-