Home | History | Annotate | Download | only in toolbox

Lines Matching refs:Response

21 import com.android.volley.Response;
22 import com.android.volley.Response.ErrorListener;
23 import com.android.volley.Response.Listener;
31 * A request for retrieving a {@link JSONObject} response body at a given URL, allowing for an
41 * @param listener Listener to receive the JSON response
50 protected Response<JSONObject> parseNetworkResponse(NetworkResponse response) {
53 new String(response.data, HttpHeaderParser.parseCharset(response.headers));
54 return Response.success(new JSONObject(jsonString),
55 HttpHeaderParser.parseCacheHeaders(response));
57 return Response.error(new ParseError(e));
59 return Response.error(new ParseError(je));