Http2Settings extends CharObjectHashMap<Long> { public Long maxHeaderListSize() { return get(SETTINGS_MAX_HEADER_LIST_SIZE); } Http2Settings();  Http2Settings(int initialCapacity, float loadFactor);  Http2Settings(int initialCapacity); @Override Long put(char key, Long value); Long headerTableSize(); Http2Settings headerTableSize(long value); Boolean pushEnabled(); Http2Settings pushEnabled(boolean enabled); Long maxConcurrentStreams(); Http2Settings maxConcurrentStreams(long value); Integer initialWindowSize(); Http2Settings initialWindowSize(int value); Integer maxFrameSize(); Http2Settings maxFrameSize(int value); Long maxHeaderListSize(); Http2Settings maxHeaderListSize(long value); Http2Settings copyFrom(Http2Settings settings); Integer getIntValue(char key); static Http2Settings defaultSettings();  }
@Test public void headerListSizeUnsignedInt() { settings.maxHeaderListSize(MAX_UNSIGNED_INT); assertEquals(MAX_UNSIGNED_INT, (long) settings.maxHeaderListSize()); }
@Test(expected = IllegalArgumentException.class) public void headerListSizeBoundCheck() { settings.maxHeaderListSize(Long.MAX_VALUE); }