/external/okhttp/okhttp-apache/src/test/java/com/squareup/okhttp/apache/ |
D | OkApacheClientTest.java | 80 Header[] headers1 = response1.getHeaders("Foo"); in headers() 86 Header[] headers2 = response2.getHeaders("Foo"); in headers() 158 Header[] headers1 = response1.getHeaders("Content-Type"); in contentType() 166 Header[] headers2 = response2.getHeaders("Content-Type"); in contentType() 174 Header[] headers3 = response3.getHeaders("Content-Type"); in contentType() 198 Header[] encodingHeaders = response.getHeaders("Content-Encoding"); in contentEncoding() 219 Header[] encodingHeaders = response.getHeaders("Content-Encoding"); in jsonGzipResponse() 225 Header[] typeHeaders = response.getHeaders("Content-Type"); in jsonGzipResponse() 245 Header[] encodingHeaders = response.getHeaders("Content-Encoding"); in jsonTransparentGzipResponse() 250 Header[] lengthHeaders = response.getHeaders("Content-Length"); in jsonTransparentGzipResponse() [all …]
|
/external/mockwebserver/src/test/java/com/google/mockwebserver/ |
D | MockWebServerTest.java | 63 assertEquals(Arrays.asList("s=square", "a=android"), request.getHeaders("cookie")); in testRecordedRequestAccessors() 65 assertEquals(Arrays.asList("left", "right", "both"), request.getHeaders("x-whitespace")); in testRecordedRequestAccessors() 71 assertEquals(Arrays.asList("Content-Length: 0"), response.getHeaders()); in testDefaultMockResponse() 77 assertEquals(Arrays.asList("Content-Length: 3"), response.getHeaders()); in testSetBodyAdjustsHeaders() 92 response.getHeaders()); in testMockResponseAddHeader() 103 response.getHeaders()); in testMockResponseSetHeader() 120 assertTrue(request.getHeaders().contains("Accept-Language: en-US")); in testRegularResponse()
|
/external/robolectric-shadows/shadows/httpclient/src/test/java/org/robolectric/shadows/httpclient/ |
D | TestHttpResponseTest.java | 93 Header[] headers = resp.getHeaders("Location"); in shouldSupportGetHeadersWithArg() 105 assertThat(response.getHeaders("foo")[0].getValue()).isEqualTo("bar"); in canAddNewBasicHeader() 113 assertThat(response.getHeaders("foo")[0].getValue()).isEqualTo("bletch"); in canOverrideExistingHeaderValue() 121 assertThat(response.getHeaders("foo")[0].getValue()).isEqualTo("bletch"); in onlyOverridesFirstHeaderValue() 122 assertThat(response.getHeaders("foo")[1].getValue()).isEqualTo("baz"); in onlyOverridesFirstHeaderValue()
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/util/io/pem/ |
D | PemWriter.java | 54 if (!obj.getHeaders().isEmpty()) in getOutputSize() 56 for (Iterator it = obj.getHeaders().iterator(); it.hasNext();) in getOutputSize() 81 if (!obj.getHeaders().isEmpty()) in writeObject() 83 for (Iterator it = obj.getHeaders().iterator(); it.hasNext();) in writeObject()
|
D | PemObject.java | 49 public List getHeaders() in getHeaders() method in PemObject
|
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/util/io/pem/ |
D | PemWriter.java | 58 if (!obj.getHeaders().isEmpty()) in getOutputSize() 60 for (Iterator it = obj.getHeaders().iterator(); it.hasNext();) in getOutputSize() 86 if (!obj.getHeaders().isEmpty()) in writeObject() 88 for (Iterator it = obj.getHeaders().iterator(); it.hasNext();) in writeObject()
|
/external/grpc-grpc-java/core/src/test/java/io/grpc/util/ |
D | RoundRobinLoadBalancerTest.java | 415 doReturn(headerWithStickinessValue).when(mockArgs).getHeaders(); in noStickinessEnabled_withStickyHeader() 445 doReturn(new Metadata()).when(mockArgs).getHeaders(); in stickinessEnabled_withoutStickyHeader() 458 verify(mockArgs, times(4)).getHeaders(); in stickinessEnabled_withoutStickyHeader() 480 doReturn(headerWithStickinessValue).when(mockArgs).getHeaders(); in stickinessEnabled_withStickyHeader() 488 verify(mockArgs, atLeast(4)).getHeaders(); in stickinessEnabled_withStickyHeader() 516 doReturn(headerWithStickinessValue1).when(mockArgs).getHeaders(); in stickinessEnabled_withDifferentStickyHeaders() 519 doReturn(headerWithStickinessValue2).when(mockArgs).getHeaders(); in stickinessEnabled_withDifferentStickyHeaders() 522 doReturn(headerWithStickinessValue1).when(mockArgs).getHeaders(); in stickinessEnabled_withDifferentStickyHeaders() 525 doReturn(headerWithStickinessValue2).when(mockArgs).getHeaders(); in stickinessEnabled_withDifferentStickyHeaders() 533 verify(mockArgs, atLeast(4)).getHeaders(); in stickinessEnabled_withDifferentStickyHeaders() [all …]
|
/external/nanohttpd/core/src/test/java/fi/iki/elonen/ |
D | HttpSessionHeadersTest.java | 64 assertEquals(ipAddress, session.getHeaders().get("remote-addr")); in testHeadersRemoteIp() 65 assertEquals(ipAddress, session.getHeaders().get("http-client-ip")); in testHeadersRemoteIp()
|
/external/volley/src/test/java/com/android/volley/mock/ |
D | MockHttpStack.java | 67 if (request.getHeaders() != null) { in executeRequest() 68 mLastHeaders.putAll(request.getHeaders()); in executeRequest()
|
/external/nanohttpd/fileupload/src/main/java/fi/iki/elonen/ |
D | NanoFileUpload.java | 68 String cl1 = session.getHeaders().get("content-length"); in contentLength() 84 return this.session.getHeaders().get("content-type"); in getContentType()
|
/external/volley/src/test/java/com/android/volley/toolbox/ |
D | AdaptedHttpStackTest.java | 68 assertEquals(Collections.emptyList(), response.getHeaders()); in emptyResponse() 85 assertEquals(Collections.emptyList(), response.getHeaders()); in nonEmptyResponse() 126 assertEquals(expectedHeaders, response.getHeaders()); in responseWithHeaders()
|
/external/apache-http/src/org/apache/http/message/ |
D | AbstractHttpMessage.java | 78 public Header[] getHeaders(final String name) { in getHeaders() method in AbstractHttpMessage 79 return this.headergroup.getHeaders(name); in getHeaders()
|
D | HeaderGroup.java | 150 Header[] headers = getHeaders(name); in getCondensedHeader() 178 public Header[] getHeaders(String name) { in getHeaders() method in HeaderGroup
|
/external/grpc-grpc-java/grpclb/src/test/java/io/grpc/grpclb/ |
D | GrpclbLoadBalancerTest.java | 312 when(args1.getHeaders()).thenReturn(headers1); in roundRobinPickerNoDrop() 314 verify(args1).getHeaders(); in roundRobinPickerNoDrop() 319 when(args2.getHeaders()).thenReturn(headers2); in roundRobinPickerNoDrop() 321 verify(args2).getHeaders(); in roundRobinPickerNoDrop() 326 when(args3.getHeaders()).thenReturn(headers3); in roundRobinPickerNoDrop() 328 verify(args3).getHeaders(); in roundRobinPickerNoDrop() 353 when(args1.getHeaders()).thenReturn(headers1); in roundRobinPickerWithDrop() 355 verify(args1).getHeaders(); in roundRobinPickerWithDrop() 361 when(args2.getHeaders()).thenReturn(headers2); in roundRobinPickerWithDrop() 363 verify(args2, never()).getHeaders(); in roundRobinPickerWithDrop() [all …]
|
/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/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/okhttp/okhttp-urlconnection/src/main/java/com/squareup/okhttp/internal/huc/ |
D | HttpURLConnectionImpl.java | 161 private Headers getHeaders() throws IOException { in getHeaders() method in HttpURLConnectionImpl 192 return getHeaders().value(position); in getHeaderField() 207 : getHeaders().get(fieldName); in getHeaderField() 215 return getHeaders().name(position); in getHeaderFieldKey() 223 return OkHeaders.toMultimap(getHeaders(), in getHeaderFields()
|
/external/okhttp/repackaged/okhttp-urlconnection/src/main/java/com/android/okhttp/internal/huc/ |
D | HttpURLConnectionImpl.java | 165 private Headers getHeaders() throws IOException { in getHeaders() method in HttpURLConnectionImpl 196 return getHeaders().value(position); in getHeaderField() 211 : getHeaders().get(fieldName); in getHeaderField() 219 return getHeaders().name(position); in getHeaderFieldKey() 227 return OkHeaders.toMultimap(getHeaders(), in getHeaderFields()
|
/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/fileupload/src/test/java/fi/iki/elonen/ |
D | TestNanoFileUpLoad.java | 124 this.header = session.getHeaders(); in serve() 129 session.getHeaders().put("content-length", "AA"); in serve() 151 fileItem.setHeaders(item.getHeaders()); in serve()
|
/external/okhttp/okhttp-android-support/src/test/java/com/squareup/okhttp/internal/huc/ |
D | JavaApiConverterTest.java | 107 @Override public Map<String, List<String>> getHeaders() throws IOException { in createOkResponseForCacheGet() 139 @Override public Map<String, List<String>> getHeaders() throws IOException { in createOkResponseForCacheGet_withMissingStatusLine() 167 @Override public Map<String, List<String>> getHeaders() throws IOException { in createOkResponseForCacheGet_secure() 517 Map<String, List<String>> javaHeaders = javaCacheResponse.getHeaders(); in createJavaCacheResponse_httpGet() 541 Map<String, List<String>> javaHeaders = javaCacheResponse.getHeaders(); in createJavaCacheResponse_httpPost() 568 Map<String, List<String>> javaHeaders = javaCacheResponse.getHeaders(); in createJavaCacheResponse_httpsPost()
|
/external/okhttp/okhttp-android-support/src/main/java/com/squareup/okhttp/internal/huc/ |
D | JavaApiConverter.java | 203 Headers responseHeaders = createHeaders(javaResponse.getHeaders()); in createOkResponseForCacheGet() 329 public Map<String, List<String>> getHeaders() throws IOException { in createJavaCacheResponse() method 343 public Map<String, List<String>> getHeaders() throws IOException { in createJavaCacheResponse() 400 Map<String, List<String>> javaResponseHeaders = javaResponse.getHeaders(); 452 Map<String, List<String>> javaResponseHeaders = javaResponse.getHeaders();
|
/external/okhttp/repackaged/okhttp-android-support/src/main/java/com/android/okhttp/internal/huc/ |
D | JavaApiConverter.java | 205 Headers responseHeaders = createHeaders(javaResponse.getHeaders()); in createOkResponseForCacheGet() 331 public Map<String, List<String>> getHeaders() throws IOException { in createJavaCacheResponse() method 345 public Map<String, List<String>> getHeaders() throws IOException { in createJavaCacheResponse() 402 Map<String, List<String>> javaResponseHeaders = javaResponse.getHeaders(); 454 Map<String, List<String>> javaResponseHeaders = javaResponse.getHeaders();
|
/external/nanohttpd/webserver/src/main/java/fi/iki/elonen/ |
D | InternalRewrite.java | 56 public Map<String, String> getHeaders() { in getHeaders() method in InternalRewrite
|
/external/okhttp/mockwebserver/src/main/java/com/squareup/okhttp/mockwebserver/ |
D | PushPromise.java | 42 public Headers getHeaders() { in getHeaders() method in PushPromise
|