Public 成员函数 | |
| JsonRequest (String url, String requestBody, Listener< T > listener, ErrorListener errorListener) | |
| JsonRequest (int method, String url, String requestBody, Listener< T > listener, ErrorListener errorListener) | |
| String | getPostBodyContentType () |
| byte[] | getPostBody () |
| String | getBodyContentType () |
| byte[] | getBody () |
Protected 成员函数 | |
| void | deliverResponse (T response) |
| abstract Response< T > | parseNetworkResponse (NetworkResponse response) |
Private 属性 | |
| final Listener< T > | mListener |
| final String | mRequestBody |
静态 Private 属性 | |
| static final String | PROTOCOL_CHARSET = "utf-8" |
| static final String | PROTOCOL_CONTENT_TYPE |
A request for retrieving a T type response body at a given URL that also optionally sends along a JSON body in the request specified.
| <T> | JSON type of response expected |
|
inline |
Deprecated constructor for a JsonRequest which defaults to GET unless getPostBody() or getPostParams() is overridden (which defaults to POST).
|
inline |
|
inlineprotected |
|
inline |
|
inline |
|
inline |
|
abstractprotected |
|
private |
|
private |
|
staticprivate |
Charset for request.
|
staticprivate |
Content type for request.
1.8.8