Class RestListModel<T extends AbstractRestModel>


  • public class RestListModel<T extends AbstractRestModel>
    extends AbstractRestModel
    REST model for returning a list of resources without paging. NOTE: This should be used sparingly in situations where paging is not possible or doesn't make sense. In most cases you should implement paging and use the RestPageModel instead.
    • Constructor Detail

      • RestListModel

        public RestListModel​(@NotNull
                             @NotNull List<T> items)
    • Method Detail

      • getResults

        public List<T> getResults()