/libcore/luni/src/test/java/libcore/java/net/ |
D | CookiesMCompatibilityTest.java | 38 Map<String, List<String>> responseHeaders = Collections.singletonMap("Set-Cookie", in testCookiesWithoutLeadingPeriod() local 42 cm.put(uri, responseHeaders); in testCookiesWithoutLeadingPeriod() 46 responseHeaders); in testCookiesWithoutLeadingPeriod() 55 Map<String, List<String>> responseHeaders = Collections.singletonMap("Set-Cookie", in testCookiesWithLeadingPeriod() local 57 cm.put(uri, responseHeaders); in testCookiesWithLeadingPeriod() 60 responseHeaders); in testCookiesWithLeadingPeriod()
|
D | CookiesTest.java | 38 Map<String, List<String>> responseHeaders = Collections.singletonMap("Set-Cookie", in testCookiesWithLeadingPeriod() local 42 cm.put(uri, responseHeaders); in testCookiesWithLeadingPeriod() 46 responseHeaders); in testCookiesWithLeadingPeriod()
|
D | AbstractCookiesTest.java | 1248 Map<String, List<String>> responseHeaders = new LinkedHashMap<String, List<String>>(); in addCookie() local 1254 responseHeaders.put(cookies[i][0], fields); in addCookie() 1256 return responseHeaders; in addCookie() 1260 … Map<String, List<String>> responseHeaders, CookiePolicy policy) in store() argument 1267 manager.put(uri, responseHeaders); in store() 1307 Map<String, List<String>> responseHeaders = addCookie(new String[][] { in test_Put_Get_LURI_LMap() local 1310 new String[][] { cookies[0], cookies[1] }, responseHeaders, in test_Put_Get_LURI_LMap() 1331 responseHeaders = addCookie(new String[][] { cookies[2] }); in test_Put_Get_LURI_LMap() 1332 manager = store(new String[][] { cookies[2] }, responseHeaders, null); in test_Put_Get_LURI_LMap() 1339 responseHeaders = addCookie(new String[][] { cookies[3] }); in test_Put_Get_LURI_LMap() [all …]
|
D | OldCookieHandlerTest.java | 88 public void put(URI uri, Map responseHeaders) throws IOException { in put() argument
|
D | URLConnectionTest.java | 306 @Test public void responseHeaders() throws IOException, InterruptedException { in responseHeaders() method in URLConnectionTest 319 Map<String, List<String>> responseHeaders = urlConnection.getHeaderFields(); in responseHeaders() local 320 assertEquals(Arrays.asList("HTTP/1.0 200 Fantastic"), responseHeaders.get(null)); in responseHeaders() 321 assertEquals(newSet("c", "e"), new HashSet<String>(responseHeaders.get("A"))); in responseHeaders() 322 assertEquals(newSet("c", "e"), new HashSet<String>(responseHeaders.get("a"))); in responseHeaders() 324 responseHeaders.put("N", Arrays.asList("o")); in responseHeaders() 329 responseHeaders.get("A").add("f"); in responseHeaders()
|
/libcore/ojluni/src/main/java/java/net/ |
D | CookieManager.java | 266 put(URI uri, Map<String, List<String>> responseHeaders) in put() argument 270 if (uri == null || responseHeaders == null) { in put() 280 for (String headerKey : responseHeaders.keySet()) { in put() 292 for (String headerValue : responseHeaders.get(headerKey)) { in put()
|
D | CookieHandler.java | 148 put(URI uri, Map<String, List<String>> responseHeaders) in put() argument
|
/libcore/benchmarks/src/benchmarks/regression/ |
D | URLConnectionBenchmark.java | 34 @Param private ResponseHeaders responseHeaders; field in URLConnectionBenchmark 56 responseHeaders.apply(response); in setUp()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/net/ |
D | CookieHandlerTest.java | 57 public void put(URI uri, Map responseHeaders) throws IOException { in put() argument
|