protected void createStatusNodes(Node n) throws Exception { table().attr("cellpadding", "0", "cellspacing", "0", "border", "0", "class", "display"); thead(); tr(); createThs("Status Code", "Count"); end(); end(); tbody(); synchronized (n.getStatusCodes()) { for (Map.Entry<Integer, Integer> codes : n.getStatusCodes().entrySet()) { tr(); createTds("" + codes.getKey(), "" + codes.getValue()); end(); } } end(); end(); }