Searched refs:allHeaders (Results 1 – 9 of 9) sorted by relevance
/external/volley/src/main/java/com/android/volley/ |
D | NetworkResponse.java | 66 @Nullable List<Header> allHeaders) { in NetworkResponse() argument 67 this(statusCode, data, toHeaderMap(allHeaders), allHeaders, notModified, networkTimeMs); in NetworkResponse() 127 @Nullable List<Header> allHeaders, in NetworkResponse() argument 133 if (allHeaders == null) { in NetworkResponse() 134 this.allHeaders = null; in NetworkResponse() 136 this.allHeaders = Collections.unmodifiableList(allHeaders); in NetworkResponse() 160 @Nullable public final List<Header> allHeaders; field in NetworkResponse 169 private static Map<String, String> toHeaderMap(@Nullable List<Header> allHeaders) { in toHeaderMap() argument 170 if (allHeaders == null) { in toHeaderMap() 173 if (allHeaders.isEmpty()) { in toHeaderMap() [all …]
|
/external/apache-http/src/org/apache/http/message/ |
D | BasicListHeaderIterator.java | 59 protected final List allHeaders; field in BasicListHeaderIterator 97 this.allHeaders = headers; in BasicListHeaderIterator() 117 final int to = this.allHeaders.size()-1; in findNext() 140 final String name = ((Header)this.allHeaders.get(index)).getName(); in filterHeader() 170 return (Header) this.allHeaders.get(current); in nextHeader() 197 this.allHeaders.remove(this.lastIndex); in remove()
|
D | BasicHeaderIterator.java | 59 protected final Header[] allHeaders; field in BasicHeaderIterator 90 this.allHeaders = headers; in BasicHeaderIterator() 109 final int to = this.allHeaders.length-1; in findNext() 129 this.headerName.equalsIgnoreCase(this.allHeaders[index].getName()); in filterHeader() 156 return this.allHeaders[current]; in nextHeader()
|
/external/volley/src/main/java/com/android/volley/toolbox/ |
D | HttpHeaderParser.java | 142 entry.allResponseHeaders = response.allHeaders; in parseCacheHeaders() 220 static Map<String, String> toHeaderMap(List<Header> allHeaders) { in toHeaderMap() argument 223 for (Header header : allHeaders) { in toHeaderMap() 230 List<Header> allHeaders = new ArrayList<>(headers.size()); in toAllHeaderList() local 232 allHeaders.add(new Header(header.getKey(), header.getValue())); in toAllHeaderList() 234 return allHeaders; in toAllHeaderList()
|
/external/oauth/core/src/main/java/net/oauth/client/httpclient4/ |
D | HttpMethodResponse.java | 82 Header[] allHeaders = httpResponse.getAllHeaders(); in getHeaders() local 83 if (allHeaders != null) { in getHeaders() 84 for (Header header : allHeaders) { in getHeaders()
|
/external/volley/src/test/java/com/android/volley/ |
D | NetworkResponseTest.java | 32 assertThat(expectedHeaders, containsInAnyOrder(resp.allHeaders.toArray(new Header[0]))); in mapToList()
|
/external/volley/src/test/java/com/android/volley/toolbox/ |
D | BasicNetworkTest.java | 125 assertThat(expectedHeaders, containsInAnyOrder(response.allHeaders.toArray(new Header[0]))); in notModified() 159 assertThat(expectedHeaders, containsInAnyOrder(response.allHeaders.toArray(new Header[0]))); in notModified_legacyCache()
|
D | BasicAsyncNetworkTest.java | 161 assertThat(expectedHeaders, containsInAnyOrder(response.allHeaders.toArray(new Header[0]))); in notModified() 196 assertThat(expectedHeaders, containsInAnyOrder(response.allHeaders.toArray(new Header[0]))); in notModified_legacyCache()
|
/external/apache-http/api/ |
D | current.txt | 3481 field @Deprecated protected final org.apache.http.Header[] allHeaders; 3605 field @Deprecated protected final java.util.List allHeaders;
|