Interface SyncPageFetcher<ResponseT>
-
public interface SyncPageFetcher<ResponseT>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method 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.
-
-
-
Method Detail
-
hasNextPage
boolean hasNextPage(ResponseT oldPage)
Returns a boolean value indicating if a next page is available.- Parameters:
oldPage
- last page sent by service in a paginated operation- Returns:
- True if there is a next page available. Otherwise false.
-
-