/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/v1/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/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/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 | 69 if (request.getHeaders() != null) { in performRequest() 70 mLastHeaders.putAll(request.getHeaders()); in performRequest()
|
/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/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/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/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/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
|
D | MockWebServer.java | 689 .headers(request.getHeaders()) 694 .headers(response.getHeaders()) 721 Headers headers = response.getHeaders(); 937 Headers headers = response.getHeaders(); 964 Headers pushPromiseHeaders = pushPromise.getHeaders(); 970 requestQueue.add(new RecordedRequest(requestLine, pushPromise.getHeaders(), chunkSizes, 0,
|
/external/apache-http/src/org/apache/http/ |
D | HttpMessage.java | 75 Header[] getHeaders(String name); in getHeaders() method
|
/external/apache-http/src/org/apache/http/impl/client/ |
D | DefaultProxyAuthenticationHandler.java | 73 Header[] headers = response.getHeaders(AUTH.PROXY_AUTH); in getChallenges()
|
D | DefaultTargetAuthenticationHandler.java | 73 Header[] headers = response.getHeaders(AUTH.WWW_AUTH); in getChallenges()
|
/external/nist-sip/java/gov/nist/javax/sip/clientauthutils/ |
D | AuthenticationHelperImpl.java | 157 ListIterator<Header> iterator = reoriginatedRequest.getHeaders(headerName); in handleChallenge() 178 authHeaders = challenge.getHeaders(WWWAuthenticateHeader.NAME); in handleChallenge() 180 authHeaders = challenge.getHeaders(ProxyAuthenticateHeader.NAME); in handleChallenge()
|
/external/okhttp/okhttp-hpacktests/src/test/java/com/squareup/okhttp/internal/spdy/ |
D | HpackRoundTripTest.java | 56 hpackWriter.writeHeaders(caze.getHeaders()); in testRoundTrip()
|