Package com.ngrok.definitions
Class Page<T extends Pageable>
java.lang.Object
com.ngrok.definitions.Page<T>
Wrapper class that holds a single page of a
Pageable
response.-
Constructor Summary
-
Method Summary
-
Constructor Details
-
Page
Create a new page.- Parameters:
apiClient
- the API client used to fetch the pagepage
- the page itself
-
-
Method Details
-
getPage
Returns the current response page.- Returns:
- a page
-
next
Fetches the next page of responses, if any.- Returns:
- a future encapsulating a possible next page
-