类的使用
com.android.volley.Response
使用Response的程序包
-
com.android.volley中Response的使用
返回Response的com.android.volley中的方法修饰符和类型方法说明static <T> Response<T>Response.error(VolleyError error) Returns a failed response containing the given error code and an optional localized message displayed to the user.Request.parseNetworkResponse(NetworkResponse response) Subclasses must implement this to parse the raw network response and return an appropriate response type.static <T> Response<T>Response.success(T result, Cache.Entry cacheEntry) Returns a successful response containing the parsed result.参数类型为Response的com.android.volley中的方法修饰符和类型方法说明voidExecutorDelivery.postResponse(Request<?> request, Response<?> response) voidExecutorDelivery.postResponse(Request<?> request, Response<?> response, Runnable runnable) voidResponseDelivery.postResponse(Request<?> request, Response<?> response) Parses a response from the network or cache and delivers it.voidResponseDelivery.postResponse(Request<?> request, Response<?> response, Runnable runnable) Parses a response from the network or cache and delivers it. -
com.android.volley.toolbox中Response的使用
修饰符和类型方法说明ClearCacheRequest.parseNetworkResponse(NetworkResponse response) protected Response<android.graphics.Bitmap>ImageRequest.parseNetworkResponse(NetworkResponse response) protected Response<org.json.JSONArray>JsonArrayRequest.parseNetworkResponse(NetworkResponse response) protected Response<org.json.JSONObject>JsonObjectRequest.parseNetworkResponse(NetworkResponse response) JsonRequest.parseNetworkResponse(NetworkResponse response) StringRequest.parseNetworkResponse(NetworkResponse response) -
net.apexes.commons.volley中Response的使用