260261262263264265266267268269270
{ try { ValidatingConsumer vc = (ValidatingConsumer)consumers[i].newInstance(); vc.preConfigure(httpMethod, c.contentType(), pojoClass, fieldParams); ci.addConsumer(vc); } catch(Exception e) { throw new RuntimeException(e); }