Searched refs:HttpHeaderParser (Results 1 – 13 of 13) 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() 72 assertNull(HttpHeaderParser.parseCacheHeaders(response)); in parseCacheHeaders_nullHeaders() 79 Cache.Entry entry = HttpHeaderParser.parseCacheHeaders(response); in parseCacheHeaders_headersSet() 91 Cache.Entry entry = HttpHeaderParser.parseCacheHeaders(response); in parseCacheHeaders_etag() 104 Cache.Entry entry = HttpHeaderParser.parseCacheHeaders(response); in parseCacheHeaders_normalExpire() 120 Cache.Entry entry = HttpHeaderParser.parseCacheHeaders(response); in parseCacheHeaders_expiresInPast() 138 Cache.Entry entry = HttpHeaderParser.parseCacheHeaders(response); in parseCacheHeaders_serverRelative() 151 Cache.Entry entry = HttpHeaderParser.parseCacheHeaders(response); in parseCacheHeaders_cacheControlOverridesExpires() 170 Cache.Entry entry = HttpHeaderParser.parseCacheHeaders(response); in testParseCacheHeaders_staleWhileRevalidate() 185 Cache.Entry entry = HttpHeaderParser.parseCacheHeaders(response); in parseCacheHeaders_cacheControlNoCache() [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 | 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 | JsonObjectRequest.java | 84 HttpHeaderParser.parseCharset(response.headers, PROTOCOL_CHARSET)); in parseNetworkResponse() 86 new JSONObject(jsonString), HttpHeaderParser.parseCacheHeaders(response)); in parseNetworkResponse()
|
D | HurlStack.java | 296 if (!connection.getRequestProperties().containsKey(HttpHeaderParser.HEADER_CONTENT_TYPE)) { in addBody() 298 HttpHeaderParser.HEADER_CONTENT_TYPE, request.getBodyContentType()); in addBody()
|
D | HttpHeaderParser.java | 41 public class HttpHeaderParser { class 296 "If-Modified-Since", HttpHeaderParser.formatEpochAsRfc1123(entry.lastModified)); in getCacheHeaders()
|
D | BasicNetwork.java | 102 HttpHeaderParser.getCacheHeaders(request.getCacheEntry()); in performRequest()
|
D | NetworkUtility.java | 77 List<Header> combinedHeaders = HttpHeaderParser.combineHeaders(responseHeaders, entry); in getNotModifiedNetworkResponse()
|
D | ImageRequest.java | 238 return Response.success(bitmap, HttpHeaderParser.parseCacheHeaders(response)); in doParse()
|
D | BasicAsyncNetwork.java | 147 HttpHeaderParser.getCacheHeaders(request.getCacheEntry()); in performRequest()
|
D | DiskBasedCache.java | 480 return HttpHeaderParser.toAllHeaderList(entry.responseHeaders); in getAllResponseHeaders() 515 e.responseHeaders = HttpHeaderParser.toHeaderMap(allResponseHeaders); in toCacheEntry()
|
/external/volley/src/main/java/com/android/volley/cronet/ |
D | CronetHttpStack.java | 31 import com.android.volley.toolbox.HttpHeaderParser; 614 if (body != null && !mHeaders.containsKey(HttpHeaderParser.HEADER_CONTENT_TYPE)) { in setBody() 616 mHeaders.put(HttpHeaderParser.HEADER_CONTENT_TYPE, contentType); in setBody()
|