Home
last modified time | relevance | path

Searched refs:HttpHeaderParser (Results 1 – 10 of 10) sorted by relevance

/external/volley/src/test/java/com/android/volley/toolbox/
DHttpHeaderParserTest.java59 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 …]
DHttpStackConformanceTest.java169 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/
DJsonArrayRequest.java74 HttpHeaderParser.parseCharset(response.headers, PROTOCOL_CHARSET)); in parseNetworkResponse()
76 new JSONArray(jsonString), HttpHeaderParser.parseCacheHeaders(response)); in parseNetworkResponse()
DJsonObjectRequest.java84 HttpHeaderParser.parseCharset(response.headers, PROTOCOL_CHARSET)); in parseNetworkResponse()
86 new JSONObject(jsonString), HttpHeaderParser.parseCacheHeaders(response)); in parseNetworkResponse()
DStringRequest.java91 parsed = new String(response.data, HttpHeaderParser.parseCharset(response.headers)); in parseNetworkResponse()
98 return Response.success(parsed, HttpHeaderParser.parseCacheHeaders(response)); in parseNetworkResponse()
DHurlStack.java288 if (!connection.getRequestProperties().containsKey(HttpHeaderParser.HEADER_CONTENT_TYPE)) { in addBody()
290 HttpHeaderParser.HEADER_CONTENT_TYPE, request.getBodyContentType()); in addBody()
DHttpHeaderParser.java34 public class HttpHeaderParser { class
DDiskBasedCache.java435 return HttpHeaderParser.toAllHeaderList(entry.responseHeaders); in getAllResponseHeaders()
470 e.responseHeaders = HttpHeaderParser.toHeaderMap(allResponseHeaders); in toCacheEntry()
DImageRequest.java238 return Response.success(bitmap, HttpHeaderParser.parseCacheHeaders(response)); in doParse()
DBasicNetwork.java268 "If-Modified-Since", HttpHeaderParser.formatEpochAsRfc1123(entry.lastModified)); in getCacheHeaders()