Lines Matching defs:response
20 * Encapsulates a parsed response for delivery.
22 * @param <T> Parsed type of this response
28 /** Called when a response is received. */
29 public void onResponse(T response);
41 /** Returns a successful response containing the parsed result. */
47 * Returns a failed response containing the given error code and an optional
54 /** Parsed response, or null in the case of error. */
57 /** Cache metadata for this response, or null in the case of error. */
63 /** True if this response was a soft-expired one and a second one MAY be coming. */
67 * Returns whether this response is considered successful.