Home
last modified time | relevance | path

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

/libcore/ojluni/src/main/java/java/net/
DCacheResponse.java53 public abstract Map<String, List<String>> getHeaders() throws IOException; in getHeaders() method in CacheResponse
DURLConnection.java1177 return requests.getHeaders(null); in getRequestProperties()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/net/
DSecureCacheResponseTest.java79 public Map<String, List<String>> getHeaders() throws IOException { in getHeaders() method in SecureCacheResponseTest.MockCacheResponse
/libcore/luni/src/test/java/libcore/java/net/
DURLConnectionTest.java274 assertContains(request.getHeaders(), "D: e"); in requestHeaders()
275 assertContains(request.getHeaders(), "D: f"); in requestHeaders()
276 assertContainsNoneMatching(request.getHeaders(), "NullValue.*"); in requestHeaders()
277 assertContainsNoneMatching(request.getHeaders(), "AnotherNullValue.*"); in requestHeaders()
278 assertContainsNoneMatching(request.getHeaders(), "G:.*"); in requestHeaders()
279 assertContainsNoneMatching(request.getHeaders(), "null:.*"); in requestHeaders()
681 assertContains(request.getHeaders(), "Host: " + expectedHost); in checkConnectViaProxy()
778 assertContains(connect.getHeaders(), "Host: android.com:443"); in checkConnectViaHttpProxyToHttps()
782 assertContains(get.getHeaders(), "Host: android.com"); in checkConnectViaHttpProxyToHttps()
818 assertContains(connect.getHeaders(), "Host: android.com:443"); in connectViaHttpProxyToHttpsUsingBadProxyAndHttpResponseCache()
[all …]
DAbstractCookiesTest.java353 List<String> receivedHeaders = request.getHeaders(); in testSendingCookiesFromStore()
381 assertContains(request.getHeaders(), "Cookie: $Version=\"1\"; " in testRedirectsDoNotIncludeTooManyCookies()
385 for (String header : redirectTarget.takeRequest().getHeaders()) { in testRedirectsDoNotIncludeTooManyCookies()
449 assertContainsAll(request.getHeaders(), "Foo: foo", "Cookie: Bar=bar", "Cookie2: Baz=baz"); in testHeadersSentToCookieHandler()
450 assertFalse(request.getHeaders().contains("Quux: quux")); in testHeadersSentToCookieHandler()
469 assertContainsAll(request.getHeaders(), "COOKIE: Bar=bar", "cooKIE2: Baz=baz"); in testCookiesSentIgnoresCase()
470 assertFalse(request.getHeaders().contains("Quux: quux")); in testCookiesSentIgnoresCase()
/libcore/ojluni/annotations/hiddenapi/sun/net/www/
DMessageHeader.java86 getHeaders() { in getHeaders() method in MessageHeader
91 getHeaders(java.lang.String[] excludeList) { in getHeaders() method in MessageHeader
/libcore/ojluni/src/main/java/sun/net/www/
DMessageHeader.java236 public synchronized Map<String, List<String>> getHeaders() { in getHeaders() method in MessageHeader
237 return getHeaders(null); in getHeaders()
240 public synchronized Map<String, List<String>> getHeaders(String[] excludeList) { in getHeaders() method in MessageHeader
/libcore/support/src/test/java/tests/support/
DSupport_TestWebServer.java281 public Map<String, String> getHeaders() { in getHeaders() method in Support_TestWebServer.Request
/libcore/luni/src/test/java/org/apache/harmony/luni/tests/java/net/
DURLConnectionTest.java301 Map<String, String> headers = server.pathToRequest().get(path).getHeaders();