public interface SyncPageFetcher<ResponseT>
Modifier and Type | Method and Description |
---|---|
boolean |
hasNextPage(ResponseT oldPage)
Returns a boolean value indicating if a next page is available.
|
ResponseT |
nextPage(ResponseT oldPage)
Method that uses the information in #oldPage and returns the
next page if available by making a service call.
|
boolean hasNextPage(ResponseT oldPage)
oldPage
- last page sent by service in a paginated operationCopyright © 2021. All rights reserved.