Public 成员函数 | |
| ExecutorDelivery (final Handler handler) | |
| ExecutorDelivery (Executor executor) | |
| void | postResponse (Request<?> request, Response<?> response) |
| void | postResponse (Request<?> request, Response<?> response, Runnable runnable) |
| void | postError (Request<?> request, VolleyError error) |
Private 属性 | |
| final Executor | mResponsePoster |
Delivers responses and errors.
|
inline |
Creates a new response delivery interface.
| handler | Handler to post responses on |
|
inline |
Creates a new response delivery interface, mockable version for testing.
| executor | For running delivery tasks |
|
inline |
Posts an error for the given request.
|
inline |
Parses a response from the network or cache and delivers it.
|
inline |
Parses a response from the network or cache and delivers it. The provided Runnable will be executed after delivery.
|
private |
Used for posting responses, typically to the main thread.
1.8.8