|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.android.volley.ExecutorDelivery
public class ExecutorDelivery
Delivers responses and errors.
Constructor Summary | |
---|---|
ExecutorDelivery(Handler handler)
Creates a new response delivery interface. |
Method Summary | |
---|---|
void |
postError(Request<?> request,
VolleyError error)
Posts an error for the given request. |
void |
postResponse(Request<?> request,
Response<?> response)
Parses a response from the network or cache and delivers it. |
void |
postResponse(Request<?> request,
Response<?> response,
Runnable runnable)
Parses a response from the network or cache and delivers it. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ExecutorDelivery(Handler handler)
handler
- Handler
to post responses onMethod Detail |
---|
public void postResponse(Request<?> request, Response<?> response)
ResponseDelivery
postResponse
in interface ResponseDelivery
public void postResponse(Request<?> request, Response<?> response, Runnable runnable)
ResponseDelivery
postResponse
in interface ResponseDelivery
public void postError(Request<?> request, VolleyError error)
ResponseDelivery
postError
in interface ResponseDelivery
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |