Data and headers returned from Network#performRequest(Request).
| com.ab.network.toolbox.NetworkResponse.NetworkResponse |
( |
int |
statusCode, |
|
|
byte[] |
data, |
|
|
Map< String, String > |
headers, |
|
|
boolean |
notModified |
|
) |
| |
|
inline |
Creates a new network response.
- 参数
-
| statusCode | the HTTP status code |
| data | Response body |
| headers | Headers returned with this response, or null for none |
| notModified | True if the server returned a 304 and the data was already in cache |
| com.ab.network.toolbox.NetworkResponse.NetworkResponse |
( |
byte[] |
data | ) |
|
|
inline |
| com.ab.network.toolbox.NetworkResponse.NetworkResponse |
( |
byte[] |
data, |
|
|
Map< String, String > |
headers |
|
) |
| |
|
inline |
| final byte [] com.ab.network.toolbox.NetworkResponse.data |
Raw data from this response.
| final Map<String, String> com.ab.network.toolbox.NetworkResponse.headers |
| final boolean com.ab.network.toolbox.NetworkResponse.notModified |
True if the server returned a 304 (Not Modified).
| final int com.ab.network.toolbox.NetworkResponse.statusCode |
该类的文档由以下文件生成: