Home
last modified time | relevance | path

Searched refs:responseHeaders (Results 1 – 9 of 9) sorted by relevance

/libcore/luni/src/test/java/libcore/java/net/
DCookiesMCompatibilityTest.java38 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()
DCookiesTest.java38 Map<String, List<String>> responseHeaders = Collections.singletonMap("Set-Cookie", in testCookiesWithLeadingPeriod() local
42 cm.put(uri, responseHeaders); in testCookiesWithLeadingPeriod()
46 responseHeaders); in testCookiesWithLeadingPeriod()
DAbstractCookiesTest.java1255 Map<String, List<String>> responseHeaders = new LinkedHashMap<String, List<String>>(); in addCookie() local
1261 responseHeaders.put(cookies[i][0], fields); in addCookie()
1263 return responseHeaders; in addCookie()
1267 … Map<String, List<String>> responseHeaders, CookiePolicy policy) in store() argument
1274 manager.put(uri, responseHeaders); in store()
1314 Map<String, List<String>> responseHeaders = addCookie(new String[][] { in test_Put_Get_LURI_LMap() local
1317 new String[][] { cookies[0], cookies[1] }, responseHeaders, in test_Put_Get_LURI_LMap()
1338 responseHeaders = addCookie(new String[][] { cookies[2] }); in test_Put_Get_LURI_LMap()
1339 manager = store(new String[][] { cookies[2] }, responseHeaders, null); in test_Put_Get_LURI_LMap()
1346 responseHeaders = addCookie(new String[][] { cookies[3] }); in test_Put_Get_LURI_LMap()
[all …]
DOldCookieHandlerTest.java88 public void put(URI uri, Map responseHeaders) throws IOException { in put() argument
DURLConnectionTest.java310 @Test public void responseHeaders() throws IOException, InterruptedException { in responseHeaders() method in URLConnectionTest
323 Map<String, List<String>> responseHeaders = urlConnection.getHeaderFields(); in responseHeaders() local
324 assertEquals(Arrays.asList("HTTP/1.0 200 Fantastic"), responseHeaders.get(null)); in responseHeaders()
325 assertEquals(newSet("c", "e"), new HashSet<String>(responseHeaders.get("A"))); in responseHeaders()
326 assertEquals(newSet("c", "e"), new HashSet<String>(responseHeaders.get("a"))); in responseHeaders()
328 responseHeaders.put("N", Arrays.asList("o")); in responseHeaders()
333 responseHeaders.get("A").add("f"); in responseHeaders()
/libcore/ojluni/src/main/java/java/net/
DCookieManager.java263 put(URI uri, Map<String, List<String>> responseHeaders) in put() argument
267 if (uri == null || responseHeaders == null) { in put()
277 for (String headerKey : responseHeaders.keySet()) { in put()
289 for (String headerValue : responseHeaders.get(headerKey)) { in put()
DCookieHandler.java148 put(URI uri, Map<String, List<String>> responseHeaders) in put() argument
/libcore/benchmarks/src/benchmarks/regression/
DURLConnectionBenchmark.java34 @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/
DCookieHandlerTest.java57 public void put(URI uri, Map responseHeaders) throws IOException { in put() argument