/external/chromium_org/android_webview/java/src/org/chromium/android_webview/ |
AwWebResourceResponse.java | 34 int statusCode, String reasonPhrase, Map<String, String> responseHeaders) { 40 if (responseHeaders != null) { 41 mResponseHeaderNames = new String[responseHeaders.size()]; 42 mResponseHeaderValues = new String[responseHeaders.size()]; 44 for (Map.Entry<String, String> entry : responseHeaders.entrySet()) {
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/net/ |
CookieManagerTest.java | 81 Map<String, List<String>> responseHeaders = new LinkedHashMap<String, List<String>>(); 87 responseHeaders.put(cookies[i][0], fields); 89 return responseHeaders; 93 Map<String, List<String>> responseHeaders, CookiePolicy policy) 100 manager.put(uri, responseHeaders); 140 Map<String, List<String>> responseHeaders = addCookie(new String[][] { 143 new String[][] { cookies[0], cookies[1] }, responseHeaders, 164 responseHeaders = addCookie(new String[][] { cookies[2] }); 165 manager = store(new String[][] { cookies[2] }, responseHeaders, null); 172 responseHeaders = addCookie(new String[][] { cookies[3] }) [all...] |
CookieHandlerTest.java | 57 public void put(URI uri, Map responseHeaders) throws IOException {
|
/external/chromium_org/third_party/WebKit/Source/platform/network/ |
ResourceLoadInfo.h | 44 HTTPHeaderMap responseHeaders;
|
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/spdy/ |
PushObserver.java | 46 * @param responseHeaders minimally includes {@code :status}. 49 boolean onHeaders(int streamId, List<Header> responseHeaders, boolean last); 72 @Override public boolean onHeaders(int streamId, List<Header> responseHeaders, boolean last) {
|
SpdyStream.java | 63 private List<Header> responseHeaders; 112 && responseHeaders != null) { 144 while (responseHeaders == null && errorCode == null) { 155 if (responseHeaders != null) { 156 return responseHeaders; 180 public void reply(List<Header> responseHeaders, boolean out) throws IOException { 184 if (responseHeaders == null) { 185 throw new NullPointerException("responseHeaders == null"); 187 if (this.responseHeaders != null) { 190 this.responseHeaders = responseHeaders [all...] |
/external/chromium_org/third_party/WebKit/Source/modules/serviceworkers/ |
ResponseTest.cpp | 65 Headers* responseHeaders = response->headers(); 70 EXPECT_EQ(headersMap.size(), responseHeaders->size()); 73 EXPECT_EQ(iter->value, responseHeaders->get(iter->key, exceptionState));
|
/frameworks/volley/src/com/android/volley/ |
Cache.java | 84 public Map<String, String> responseHeaders = Collections.emptyMap();
|
CacheDispatcher.java | 119 new NetworkResponse(entry.data, entry.responseHeaders));
|
/libcore/luni/src/main/java/java/net/ |
CookieHandler.java | 59 * Sets all cookies of a specific URI in the {@code responseHeaders} into 64 * @param responseHeaders 69 public abstract void put(URI uri, Map<String, List<String>> responseHeaders)
|
CookieManager.java | 148 * Sets cookies according to uri and responseHeaders 152 * @param responseHeaders 158 public void put(URI uri, Map<String, List<String>> responseHeaders) throws IOException { 159 if (uri == null || responseHeaders == null) { 164 List<HttpCookie> cookies = parseCookie(responseHeaders); 206 private static List<HttpCookie> parseCookie(Map<String, List<String>> responseHeaders) { 208 for (Map.Entry<String, List<String>> entry : responseHeaders.entrySet()) {
|
/external/okhttp/mockwebserver/src/main/java/com/squareup/okhttp/internal/spdy/ |
SpdyServer.java | 110 List<Header> responseHeaders = 112 stream.reply(responseHeaders, true); 119 List<Header> responseHeaders = 122 stream.reply(responseHeaders, true);
|
/frameworks/base/core/java/android/webkit/ |
WebResourceResponse.java | 63 * @param responseHeaders the resource response's headers represented as a mapping of header 68 String reasonPhrase, Map<String, String> responseHeaders, InputStream data) { 71 setResponseHeaders(responseHeaders);
|
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/ |
HttpResponseCache.java | 391 private final Headers responseHeaders; 461 responseHeaders = responseHeadersBuilder.build(); 485 this.responseHeaders = response.headers(); 501 writer.write(Integer.toString(responseHeaders.size()) + '\n'); 502 for (int i = 0; i < responseHeaders.size(); i++) { 503 writer.write(responseHeaders.name(i) + ": " + responseHeaders.value(i) + '\n'); 557 String contentType = responseHeaders.get("Content-Type"); 558 String contentLength = responseHeaders.get("Content-Length"); 562 .headers(responseHeaders) [all...] |
/cts/libs/testserver/src/android/webkit/cts/ |
TestWebServer.java | 86 Response(byte[] responseData, List<Pair<String, String>> responseHeaders, 91 mResponseHeaders = responseHeaders == null ? 92 new ArrayList<Pair<String, String>>() : responseHeaders; 178 List<Pair<String, String>> responseHeaders, Runnable responseAction, 185 responseData, responseHeaders, isRedirect, isNotFound, responseAction)); 223 * @param responseHeaders Any additional headers that should be returned along with the 230 List<Pair<String, String>> responseHeaders) { 231 return setResponseInternal(requestPath, responseString.getBytes(), responseHeaders, null, 242 * @param responseHeaders Any additional headers that should be returned along with the 251 String requestPath, String responseString, List<Pair<String, String>> responseHeaders, [all...] |
/external/chromium_org/net/test/android/javatests/src/org/chromium/net/test/util/ |
TestWebServer.java | 83 Response(byte[] responseData, List<Pair<String, String>> responseHeaders, 88 mResponseHeaders = responseHeaders == null ? 89 new ArrayList<Pair<String, String>>() : responseHeaders; 175 List<Pair<String, String>> responseHeaders, Runnable responseAction, 182 responseData, responseHeaders, isRedirect, isNotFound, responseAction)); 220 * @param responseHeaders Any additional headers that should be returned along with the 227 List<Pair<String, String>> responseHeaders) { 228 return setResponseInternal(requestPath, responseString.getBytes(), responseHeaders, null, 239 * @param responseHeaders Any additional headers that should be returned along with the 248 String requestPath, String responseString, List<Pair<String, String>> responseHeaders, [all...] |
/external/glide/library/src/main/java/com/bumptech/glide/volley/ |
VolleyDiskCacheWrapper.java | 127 entry.responseHeaders = readStringStringMap(is); 156 public Map<String, String> responseHeaders; 172 this.responseHeaders = entry.responseHeaders; 185 e.responseHeaders = responseHeaders; 200 writeStringStringMap(responseHeaders, os);
|
/frameworks/volley/src/com/android/volley/toolbox/ |
BasicNetwork.java | 88 Map<String, String> responseHeaders = new HashMap<String, String>(); 97 responseHeaders = convertHeaders(httpResponse.getAllHeaders()); 102 responseHeaders, true); 121 return new NetworkResponse(statusCode, responseContents, responseHeaders, false); 139 responseHeaders, false);
|
DiskBasedCache.java | 358 public Map<String, String> responseHeaders; 374 this.responseHeaders = entry.responseHeaders; 397 entry.responseHeaders = readStringStringMap(is); 411 e.responseHeaders = responseHeaders; 427 writeStringStringMap(responseHeaders, os);
|
/libcore/benchmarks/src/benchmarks/regression/ |
URLConnectionBenchmark.java | 36 @Param private ResponseHeaders responseHeaders; 58 responseHeaders.apply(response); 106 enum ResponseHeaders {
|
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/http/ |
HttpAuthenticator.java | 125 private static List<Challenge> parseChallenges(Headers responseHeaders, 133 for (int h = 0; h < responseHeaders.size(); h++) { 134 if (!challengeHeader.equalsIgnoreCase(responseHeaders.name(h))) { 137 String value = responseHeaders.value(h);
|
/frameworks/volley/tests/src/com/android/volley/toolbox/ |
DiskBasedCacheTest.java | 39 e.responseHeaders = new HashMap<String, String>(); 40 e.responseHeaders.put("fruit", "banana"); 53 assertEquals(first.responseHeaders, second.responseHeaders);
|
HttpHeaderParserTest.java | 64 assertNotNull(entry.responseHeaders); 65 assertEquals(1, entry.responseHeaders.size()); 66 assertEquals("42", entry.responseHeaders.get("MyCustomHeader"));
|
/libcore/luni/src/test/java/libcore/java/net/ |
OldCookieHandlerTest.java | 75 public void put(URI uri, Map responseHeaders) throws IOException {
|
/external/chromium_org/android_webview/javatests/src/org/chromium/android_webview/test/ |
CookieManagerTest.java | 83 List<Pair<String, String>> responseHeaders = new ArrayList<Pair<String, String>>(); 84 responseHeaders.add( 86 url = webServer.setResponse(path, responseStr, responseHeaders); 101 responseHeaders = new ArrayList<Pair<String, String>>(); 102 responseHeaders.add( 104 url = webServer.setResponse(path, responseStr, responseHeaders); 418 List<Pair<String, String>> responseHeaders = new ArrayList<Pair<String, String>>(); 419 responseHeaders.add( 421 return webServer.setResponse(path, response, responseHeaders);
|