Searched refs:headerMap (Results 1 – 2 of 2) sorted by relevance
227 private void addHeader(List<Header> headerList, Map<Header, Integer> headerMap, in addHeader() argument230 assert !headerMap.containsKey(headerObject); in addHeader()232 headerMap.put(headerObject, headerMap.size()); in addHeader()243 private int getHeaderPosition(Map<Header, Integer> headerMap, Header header) { in getHeaderPosition() argument244 assert headerMap.containsKey(header); in getHeaderPosition()245 return headerMap.get(header); in getHeaderPosition()
302 Map<String, List<String>> headerMap = headers.toMultimap(); in toMultimapGroupsHeaders() local303 assertEquals(2, headerMap.get("cache-control").size()); in toMultimapGroupsHeaders()304 assertEquals(1, headerMap.get("user-agent").size()); in toMultimapGroupsHeaders()