static int getIndex(CharSequence name) {
        HeaderNameIndex entry = getEntry(name);
        return entry == null ? NOT_FOUND : entry.index;
    }
@Test
    public void testExistingHeaderName() {
        assertEquals(6, HpackStaticTable.getIndex(":scheme"));
    }