T - Class of the object in the list to be returnedpublic interface PagingCallback<T>
Implement this interface in an anonymous inner class, magically get PagingHandler to work!
| Modifier and Type | Method and Description |
|---|---|
List<T> |
getPageOfData(Paging thisPage) |
List<T> getPageOfData(Paging thisPage) throws NotFoundException, BadRequestException
thisPage - The page of data to be returnedNotFoundException - If the thing being paged itself throws a NotFoundExceptionBadRequestException - If the paging instructions are invalidCopyright © 2016 Dan Shannon. All rights reserved.