Searched refs:HttpHeaderParser (Results 1 – 10 of 10) sorted by relevance
/external/volley/src/test/java/com/android/volley/toolbox/ |
D | HttpHeaderParserTest.java | 59 Cache.Entry entry = HttpHeaderParser.parseCacheHeaders(response); in parseCacheHeaders_noHeaders() 73 Cache.Entry entry = HttpHeaderParser.parseCacheHeaders(response); in parseCacheHeaders_headersSet() 85 Cache.Entry entry = HttpHeaderParser.parseCacheHeaders(response); in parseCacheHeaders_etag() 98 Cache.Entry entry = HttpHeaderParser.parseCacheHeaders(response); in parseCacheHeaders_normalExpire() 114 Cache.Entry entry = HttpHeaderParser.parseCacheHeaders(response); in parseCacheHeaders_expiresInPast() 132 Cache.Entry entry = HttpHeaderParser.parseCacheHeaders(response); in parseCacheHeaders_serverRelative() 145 Cache.Entry entry = HttpHeaderParser.parseCacheHeaders(response); in parseCacheHeaders_cacheControlOverridesExpires() 164 Cache.Entry entry = HttpHeaderParser.parseCacheHeaders(response); in testParseCacheHeaders_staleWhileRevalidate() 179 Cache.Entry entry = HttpHeaderParser.parseCacheHeaders(response); in parseCacheHeaders_cacheControlNoCache() 191 Cache.Entry entry = HttpHeaderParser.parseCacheHeaders(response); in parseCacheHeaders_cacheControlMustRevalidateNoMaxAge() [all …]
|
D | HttpStackConformanceTest.java | 169 expectedHeaders.put(HttpHeaderParser.HEADER_CONTENT_TYPE, "BodyContentType"); in headerPrecedence() 176 requestHeaders.put(HttpHeaderParser.HEADER_CONTENT_TYPE, "RequestContentType"); in headerPrecedence() 177 expectedHeaders.put(HttpHeaderParser.HEADER_CONTENT_TYPE, "RequestContentType"); in headerPrecedence() 183 requestHeaders.remove(HttpHeaderParser.HEADER_CONTENT_TYPE); in headerPrecedence()
|
/external/volley/src/main/java/com/android/volley/toolbox/ |
D | JsonArrayRequest.java | 74 HttpHeaderParser.parseCharset(response.headers, PROTOCOL_CHARSET)); in parseNetworkResponse() 76 new JSONArray(jsonString), HttpHeaderParser.parseCacheHeaders(response)); in parseNetworkResponse()
|
D | JsonObjectRequest.java | 84 HttpHeaderParser.parseCharset(response.headers, PROTOCOL_CHARSET)); in parseNetworkResponse() 86 new JSONObject(jsonString), HttpHeaderParser.parseCacheHeaders(response)); in parseNetworkResponse()
|
D | StringRequest.java | 91 parsed = new String(response.data, HttpHeaderParser.parseCharset(response.headers)); in parseNetworkResponse() 98 return Response.success(parsed, HttpHeaderParser.parseCacheHeaders(response)); in parseNetworkResponse()
|
D | HurlStack.java | 288 if (!connection.getRequestProperties().containsKey(HttpHeaderParser.HEADER_CONTENT_TYPE)) { in addBody() 290 HttpHeaderParser.HEADER_CONTENT_TYPE, request.getBodyContentType()); in addBody()
|
D | HttpHeaderParser.java | 34 public class HttpHeaderParser { class
|
D | DiskBasedCache.java | 435 return HttpHeaderParser.toAllHeaderList(entry.responseHeaders); in getAllResponseHeaders() 470 e.responseHeaders = HttpHeaderParser.toHeaderMap(allResponseHeaders); in toCacheEntry()
|
D | ImageRequest.java | 238 return Response.success(bitmap, HttpHeaderParser.parseCacheHeaders(response)); in doParse()
|
D | BasicNetwork.java | 268 "If-Modified-Since", HttpHeaderParser.formatEpochAsRfc1123(entry.lastModified)); in getCacheHeaders()
|