Home
last modified time | relevance | path

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

/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/framed/
DHpack.java46 private static final Header[] STATIC_HEADER_TABLE = new Header[] { field in Hpack
228 Header staticEntry = STATIC_HEADER_TABLE[index]; in readIndexedHeader()
231 int dynamicTableIndex = dynamicTableIndex(index - STATIC_HEADER_TABLE.length); in readIndexedHeader()
271 return STATIC_HEADER_TABLE[index].name; in getName()
273 return dynamicTable[dynamicTableIndex(index - STATIC_HEADER_TABLE.length)].name; in getName()
278 return index >= 0 && index <= STATIC_HEADER_TABLE.length - 1; in isStaticHeader()
360 Map<ByteString, Integer> result = new LinkedHashMap<>(STATIC_HEADER_TABLE.length); in nameToFirstIndex()
361 for (int i = 0; i < STATIC_HEADER_TABLE.length; i++) { in nameToFirstIndex()
362 if (!result.containsKey(STATIC_HEADER_TABLE[i].name)) { in nameToFirstIndex()
363 result.put(STATIC_HEADER_TABLE[i].name, i); in nameToFirstIndex()