public List<T> getValues() {
        return values;
    }
Creates a collector that builds a sub class of a ResultPage, e.g.
.collect(ListConfigResponse.collector(ListConfigResponse::new));
stroom-util-shared/src/main/java/stroom/util/shared/ResultPage.java