Searched refs:getHeaders (Results 1 – 9 of 9) sorted by relevance
/libcore/ojluni/src/main/java/java/net/ |
D | CacheResponse.java | 53 public abstract Map<String, List<String>> getHeaders() throws IOException; in getHeaders() method in CacheResponse
|
D | URLConnection.java | 1155 return requests.getHeaders(null); in getRequestProperties()
|
/libcore/luni/src/test/java/libcore/java/net/ |
D | URLConnectionTest.java | 267 assertContains(request.getHeaders(), "D: e"); in testRequestHeaders() 268 assertContains(request.getHeaders(), "D: f"); in testRequestHeaders() 269 assertContainsNoneMatching(request.getHeaders(), "NullValue.*"); in testRequestHeaders() 270 assertContainsNoneMatching(request.getHeaders(), "AnotherNullValue.*"); in testRequestHeaders() 271 assertContainsNoneMatching(request.getHeaders(), "G:.*"); in testRequestHeaders() 272 assertContainsNoneMatching(request.getHeaders(), "null:.*"); in testRequestHeaders() 670 assertContains(request.getHeaders(), "Host: " + expectedHost); in checkConnectViaProxy() 767 assertContains(connect.getHeaders(), "Host: android.com:443"); in testConnectViaHttpProxyToHttps() 771 assertContains(get.getHeaders(), "Host: android.com"); in testConnectViaHttpProxyToHttps() 806 assertContains(connect.getHeaders(), "Host: android.com:443"); in testConnectViaHttpProxyToHttpsUsingBadProxyAndHttpResponseCache() [all …]
|
D | AbstractCookiesTest.java | 353 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/harmony-tests/src/test/java/org/apache/harmony/tests/java/net/ |
D | SecureCacheResponseTest.java | 79 public Map<String, List<String>> getHeaders() throws IOException { in getHeaders() method in SecureCacheResponseTest.MockCacheResponse
|
/libcore/ojluni/annotations/hiddenapi/sun/net/www/ |
D | MessageHeader.java | 86 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/ |
D | MessageHeader.java | 236 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/ |
D | Support_TestWebServer.java | 281 public Map<String, String> getHeaders() { in getHeaders() method in Support_TestWebServer.Request
|
/libcore/luni/src/test/java/org/apache/harmony/luni/tests/java/net/ |
D | URLConnectionTest.java | 301 Map<String, String> headers = server.pathToRequest().get(path).getHeaders();
|