public static <T> ResultPage<T> createUnboundedList(final List<T> realList) {
        if (realList != null && !realList.isEmpty()) {
            return new ResultPage<>(realList, createPageResponse(realList));
        } else {
            return empty();
        }
    }
Used for full queries (not bounded).
stroom-util-shared/src/main/java/stroom/util/shared/ResultPage.java