Home
last modified time | relevance | path

Searched refs:allHeaders (Results 1 – 9 of 9) sorted by relevance

/external/volley/src/main/java/com/android/volley/
DNetworkResponse.java66 @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/
DBasicListHeaderIterator.java59 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()
DBasicHeaderIterator.java59 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/
DHttpHeaderParser.java142 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/
DHttpMethodResponse.java82 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/
DNetworkResponseTest.java32 assertThat(expectedHeaders, containsInAnyOrder(resp.allHeaders.toArray(new Header[0]))); in mapToList()
/external/volley/src/test/java/com/android/volley/toolbox/
DBasicNetworkTest.java125 assertThat(expectedHeaders, containsInAnyOrder(response.allHeaders.toArray(new Header[0]))); in notModified()
159 assertThat(expectedHeaders, containsInAnyOrder(response.allHeaders.toArray(new Header[0]))); in notModified_legacyCache()
DBasicAsyncNetworkTest.java161 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/
Dcurrent.txt3481 field @Deprecated protected final org.apache.http.Header[] allHeaders;
3605 field @Deprecated protected final java.util.List allHeaders;