/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/internal/http/ |
D | HttpOverHttp20Draft09Test.java | 48 assertContains(request.getHeaders(), ":scheme: https"); in serverSendsPushPromise_GET() 49 assertContains(request.getHeaders(), hostHeader + ": " + hostName + ":" + server.getPort()); in serverSendsPushPromise_GET() 53 assertEquals(Arrays.asList("foo: bar"), pushedRequest.getHeaders()); in serverSendsPushPromise_GET() 70 assertContains(request.getHeaders(), ":scheme: https"); in serverSendsPushPromise_HEAD() 71 assertContains(request.getHeaders(), hostHeader + ": " + hostName + ":" + server.getPort()); in serverSendsPushPromise_HEAD() 75 assertEquals(Arrays.asList("foo: bar"), pushedRequest.getHeaders()); in serverSendsPushPromise_HEAD()
|
D | CookiesTest.java | 208 List<String> receivedHeaders = request.getHeaders(); in testSendingCookiesFromStore() 237 assertContains(request.getHeaders(), "Cookie: $Version=\"1\"; " in testRedirectsDoNotIncludeTooManyCookies() 241 for (String header : redirectTarget.takeRequest().getHeaders()) { in testRedirectsDoNotIncludeTooManyCookies() 304 assertContainsAll(request.getHeaders(), "Foo: foo", "Cookie: Bar=bar", "Cookie2: Baz=baz"); in testHeadersSentToCookieHandler() 305 assertFalse(request.getHeaders().contains("Quux: quux")); in testHeadersSentToCookieHandler() 325 assertContainsAll(request.getHeaders(), "COOKIE: Bar=bar", "cooKIE2: Baz=baz"); in testCookiesSentIgnoresCase() 326 assertFalse(request.getHeaders().contains("Quux: quux")); in testCookiesSentIgnoresCase()
|
D | URLConnectionTest.java | 172 assertContains(request.getHeaders(), "D: e"); in requestHeaders() 173 assertContains(request.getHeaders(), "D: f"); in requestHeaders() 174 assertContainsNoneMatching(request.getHeaders(), "NullValue.*"); in requestHeaders() 175 assertContainsNoneMatching(request.getHeaders(), "AnotherNullValue.*"); in requestHeaders() 176 assertContainsNoneMatching(request.getHeaders(), "G:.*"); in requestHeaders() 177 assertContainsNoneMatching(request.getHeaders(), "null:.*"); in requestHeaders() 742 assertContains(request.getHeaders(), "Host: android.com"); in testConnectViaProxy() 876 assertContains(connect.getHeaders(), "Host: android.com"); in testConnectViaHttpProxyToHttps() 880 assertContains(get.getHeaders(), "Host: android.com"); in testConnectViaHttpProxyToHttps() 919 assertContains(connect.getHeaders(), "Host: android.com"); in connectViaHttpProxyToHttpsUsingBadProxyAndHttpResponseCache() [all …]
|
D | ResponseCacheTest.java | 455 List<String> headers = conditionalRequest.getHeaders(); in defaultExpirationDateConditionallyCached() 494 List<String> headers = conditionalRequest.getHeaders(); in expirationDateInThePastWithLastModifiedHeader() 518 List<String> headers = conditionalRequest.getHeaders(); in maxAgeInThePastWithDateAndLastModifiedHeaders() 632 assertTrue(conditionalRequest.getHeaders().contains("If-None-Match: v1")); in etag() 641 List<String> headers = conditionalRequest.getHeaders(); in etagAndExpirationDateInThePast() 662 List<String> headers = conditionalRequest.getHeaders(); in cacheControlNoCacheAndExpirationDateInTheFuture() 676 List<String> headers = conditionalRequest.getHeaders(); in pragmaNoCacheAndExpirationDateInTheFuture() 915 List<String> headers = request.getHeaders(); in clientSuppliedIfModifiedSinceWithCachedResult() 926 List<String> headers = request.getHeaders(); in clientSuppliedIfNoneMatchSinceWithCachedResult() 959 assertTrue(request.getHeaders().contains("If-Modified-Since: " + formatDate(since))); in setIfModifiedSince() [all …]
|
D | HttpOverSpdyTest.java | 113 assertContains(request.getHeaders(), ":scheme: https"); in get() 114 assertContains(request.getHeaders(), hostHeader + ": " + hostName + ":" + server.getPort()); in get() 245 assertContainsNoneMatching(denied.getHeaders(), "authorization: Basic .*"); in authenticate() 248 assertContains(accepted.getHeaders(), in authenticate() 420 assertContainsNoneMatching(requestA.getHeaders(), "Cookie.*"); in acceptAndTransmitCookies() 422 assertContains(requestB.getHeaders(), "cookie: c=oreo"); in acceptAndTransmitCookies()
|
/external/okhttp/okhttp-apache/src/test/java/com/squareup/okhttp/apache/ |
D | OkApacheClientTest.java | 78 Header[] headers1 = response1.getHeaders("Foo"); in headers() 84 Header[] headers2 = response2.getHeaders("Foo"); in headers() 132 Header[] headers1 = response1.getHeaders("Content-Type"); in contentType() 140 Header[] headers2 = response2.getHeaders("Content-Type"); in contentType() 148 Header[] headers3 = response3.getHeaders("Content-Type"); in contentType() 168 Header[] headers1 = response1.getHeaders("Content-Encoding"); in contentEncoding() 198 Header[] headers1a = response1.getHeaders("Content-Encoding"); in jsonGzipResponse() 203 Header[] headers1b = response1.getHeaders("Content-Type"); in jsonGzipResponse() 233 Header[] headers1a = response1.getHeaders("Content-Encoding"); in jsonTransparentGzipResponse() 237 Header[] headers1b = response1.getHeaders("Content-Length"); in jsonTransparentGzipResponse() [all …]
|
/external/mockwebserver/src/test/java/com/google/mockwebserver/ |
D | MockWebServerTest.java | 57 assertEquals(Arrays.asList("s=square", "a=android"), request.getHeaders("cookie")); in testRecordedRequestAccessors() 59 assertEquals(Arrays.asList("left", "right", "both"), request.getHeaders("x-whitespace")); in testRecordedRequestAccessors() 65 assertEquals(Arrays.asList("Content-Length: 0"), response.getHeaders()); in testDefaultMockResponse() 71 assertEquals(Arrays.asList("Content-Length: 3"), response.getHeaders()); in testSetBodyAdjustsHeaders() 86 response.getHeaders()); in testMockResponseAddHeader() 97 response.getHeaders()); in testMockResponseSetHeader() 114 assertTrue(request.getHeaders().contains("Accept-Language: en-US")); in testRegularResponse()
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/util/io/pem/ |
D | PemWriter.java | 53 if (!obj.getHeaders().isEmpty()) in getOutputSize() 55 for (Iterator it = obj.getHeaders().iterator(); it.hasNext();) in getOutputSize() 80 if (!obj.getHeaders().isEmpty()) in writeObject() 82 for (Iterator it = obj.getHeaders().iterator(); it.hasNext();) in writeObject()
|
D | PemObject.java | 46 public List getHeaders() in getHeaders() method in PemObject
|
/external/robolectric/src/test/java/com/xtremelabs/robolectric/tester/org/apache/http/ |
D | TestHttpResponseTest.java | 97 Header[] headers = resp.getHeaders("Location"); in shouldSupportGetHeadersWithArg() 109 assertThat(response.getHeaders("foo")[0].getValue(), CoreMatchers.equalTo("bar")); in canAddNewBasicHeader() 117 assertThat(response.getHeaders("foo")[0].getValue(), CoreMatchers.equalTo("bletch")); in canOverrideExistingHeaderValue() 125 assertThat(response.getHeaders("foo")[0].getValue(), CoreMatchers.equalTo("bletch")); in onlyOverridesFirstHeaderValue() 126 assertThat(response.getHeaders("foo")[1].getValue(), CoreMatchers.equalTo("baz")); in onlyOverridesFirstHeaderValue()
|
/external/okhttp/mockwebserver/src/test/java/com/squareup/okhttp/mockwebserver/ |
D | MockWebServerTest.java | 60 assertEquals(Arrays.asList("s=square", "a=android"), request.getHeaders("cookie")); in testRecordedRequestAccessors() 62 assertEquals(Arrays.asList("left", "right", "both"), request.getHeaders("x-whitespace")); in testRecordedRequestAccessors() 68 assertEquals(Arrays.asList("Content-Length: 0"), response.getHeaders()); in testDefaultMockResponse() 74 assertEquals(Arrays.asList("Content-Length: 3"), response.getHeaders()); in testSetBodyAdjustsHeaders() 89 response.getHeaders()); in testMockResponseAddHeader() 100 response.getHeaders()); in testMockResponseSetHeader() 174 assertTrue(request.getHeaders().contains("Accept-Language: en-US")); in testRegularResponse()
|
/external/nanohttpd/core/src/test/java/fi/iki/elonen/ |
D | HttpSessionHeadersTest.java | 28 assertEquals(ipAddress, session.getHeaders().get("remote-addr")); in testHeadersRemoteIp() 29 assertEquals(ipAddress, session.getHeaders().get("http-client-ip")); in testHeadersRemoteIp()
|
/external/apache-http/src/org/apache/http/message/ |
D | AbstractHttpMessage.java | 73 public Header[] getHeaders(final String name) { in getHeaders() method in AbstractHttpMessage 74 return this.headergroup.getHeaders(name); in getHeaders()
|
D | HeaderGroup.java | 145 Header[] headers = getHeaders(name); in getCondensedHeader() 173 public Header[] getHeaders(String name) { in getHeaders() method in HeaderGroup
|
/external/okhttp/mockwebserver/src/main/java/com/squareup/okhttp/mockwebserver/ |
D | RecordedRequest.java | 73 public List<String> getHeaders() { in getHeaders() method in RecordedRequest 93 public List<String> getHeaders(String name) { in getHeaders() method in RecordedRequest
|
D | PushPromise.java | 42 public List<String> getHeaders() { in getHeaders() method in PushPromise
|
/external/oauth/core/src/main/java/net/oauth/client/ |
D | URLConnectionResponse.java | 50 this.headers.addAll(getHeaders()); in URLConnectionResponse() 75 private List<Map.Entry<String, String>> getHeaders() { in getHeaders() method in URLConnectionResponse
|
/external/nanohttpd/websocket/src/main/java/fi/iki/elonen/ |
D | WebSocketResponseHandler.java | 30 Map<String, String> headers = session.getHeaders(); in serve() 62 Map<String, String> headers = session.getHeaders(); in isWebsocketRequested()
|
/external/mockwebserver/src/main/java/com/google/mockwebserver/ |
D | RecordedRequest.java | 110 public List<String> getHeaders() { in getHeaders() method in RecordedRequest 131 public List<String> getHeaders(String name) { in getHeaders() method in RecordedRequest
|
/external/oauth/core/src/main/java/net/oauth/client/httpclient4/ |
D | HttpMethodResponse.java | 59 this.headers.addAll(getHeaders()); in HttpMethodResponse() 79 private List<Map.Entry<String, String>> getHeaders() in getHeaders() method in HttpMethodResponse
|
/external/nanohttpd/webserver/src/main/java/fi/iki/elonen/ |
D | InternalRewrite.java | 25 public Map<String, String> getHeaders() { in getHeaders() method in InternalRewrite
|
/external/smack/src/org/jivesoftware/smackx/packet/ |
D | HeadersExtension.java | 41 public Collection<Header> getHeaders() in getHeaders() method in HeadersExtension
|
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/http/ |
D | JavaApiConverter.java | 217 public Map<String, List<String>> getHeaders() throws IOException { in createJavaCacheResponse() method 231 public Map<String, List<String>> getHeaders() throws IOException { in createJavaCacheResponse() 271 Map<String, List<String>> javaResponseHeaders = javaResponse.getHeaders(); 323 Map<String, List<String>> javaResponseHeaders = javaResponse.getHeaders();
|
/external/apache-http/src/org/apache/http/ |
D | HttpMessage.java | 70 Header[] getHeaders(String name); in getHeaders() method
|
/external/apache-http/src/org/apache/http/impl/client/ |
D | DefaultProxyAuthenticationHandler.java | 68 Header[] headers = response.getHeaders(AUTH.PROXY_AUTH); in getChallenges()
|