@@ -0,0 +1,764 @@
+package eu.schulteweb.wicket.datatables.markup.html.repeater.data.table;%0A%0Aimport java.util.ArrayList;%0Aimport java.util.Iterator;%0Aimport java.util.List;%0A%0Apublic class DataTableResponse%3CT%3E %7B%0A%0A%09private int draw;%0A%0A%09private long recordsTotal;%0A%0A%09private long recordsFiltered;%0A%0A%09private List%3CT%3E data = new ArrayList%3CT%3E();%0A%0A%09public DataTableResponse(Iterator%3C? extends T%3E iterator, long recordsTotal,%0A%09%09%09long recordsFiltered, int draw) %7B%0A%09%09while (iterator.hasNext()) %7B%0A%09%09%09data.add(iterator.next());%0A%09%09%7D%0A%0A%09%09this.recordsFiltered = recordsTotal;%0A%09%09this.recordsTotal = recordsTotal;%0A%09%09this.draw = draw;%0A%09%7D%0A%0A%09public int getDraw() %7B%0A%09%09return draw;%0A%09%7D%0A%0A%09public long getRecordsTotal() %7B%0A%09%09return recordsTotal;%0A%09%7D%0A%0A%09public long getRecordsFiltered() %7B%0A%09%09return recordsFiltered;%0A%09%7D%0A%7D

write response