com.android.volley
Interface ResponseDelivery

All Known Implementing Classes:
ExecutorDelivery

public interface ResponseDelivery


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.
 

Method Detail

postResponse

void postResponse(Request<?> request,
                  Response<?> response)
Parses a response from the network or cache and delivers it.


postResponse

void postResponse(Request<?> request,
                  Response<?> response,
                  Runnable runnable)
Parses a response from the network or cache and delivers it. The provided Runnable will be executed after delivery.


postError

void postError(Request<?> request,
               VolleyError error)
Posts an error for the given request.