静态 Public 成员函数 | |
| static Cache.Entry | parseCacheHeaders (NetworkResponse response) |
| static long | parseDateAsEpoch (String dateStr) |
| static String | parseCharset (Map< String, String > headers) |
Utility methods for parsing HTTP headers.
|
inlinestatic |
Extracts a Cache.Entry from a NetworkResponse.
| response | The network response to parse headers from |
|
inlinestatic |
Returns the charset specified in the Content-Type of this header, or the HTTP default (ISO-8859-1) if none can be found.
|
inlinestatic |
Parse date in RFC1123 format, and return its value as epoch
1.8.8