hpack/src/main/java/com/twitter/hpack/StaticTable.java
static int getIndex(byte[] name) {
    String nameString = new String(name, 0, name.length, ISO_8859_1);
    Integer index = STATIC_INDEX_BY_NAME.get(nameString);
    if (index == null) {
      return -1;
    }
    return index;
  }
static int getIndex(byte[] name) {
    String nameString = new String(name, 0, name.length, ISO_8859_1);
    Integer index = STATIC_INDEX_BY_NAME.get(nameString);
    if (index == null) {
      return -1;
    }
    return index;
  }
static int getIndex ( byte [ ] name ) { String nameString = new String ( name , 0 , name . length , ISO_8859_1 ) ; Integer index = STATIC_INDEX_BY_NAME . get ( nameString ) ; if ( index == null ) { return - 1 ; } return index ; }
Returns the lowest index value for the given header field name in the static table.
Returns -1 if the header field name is not in the static table.
Returns the lowest index value for the given header field name in the static table . Returns - 1 if the header field name is not in the static table .