code: public void setMaxHeaderTableSize(OutputStream out, int maxHeaderTableSize) throws IOException {
      if (maxHeaderTableSize < 0) {
        throw new IllegalArgumentException("Illegal Capacity: " + maxHeaderTableSize);
      }
      if (capacity == maxHeaderTableSize) {
        return;
      }
      capacity = maxHeaderTableSize;
      ensureCapacity(0);
      encodeInteger(out, 0x20, 5, maxHeaderTableSize);
    }
docs: Set the maximum table size.