188189190191192193194195196197198
public void commit() { try { // 在commit时,触发commitHeaders requestContext1.getResponse().getWriter().flush(); } catch (IOException e) { throw new RequestContextException(e); } assertEquals(0, count++); } };