Interface CursorBasedPaginatedApi<T>
- Type Parameters:
T
- the type of a single item in the page returned by the endpoint.
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Interface which abstracts a cursor-based paginated endpoint.
-
Method Summary
Modifier and TypeMethodDescriptionRetrieves next page of items
-
Method Details
-
get
CursorPaginatedPayload<T> get(String after, int limit) throws com.symphony.bdk.http.api.ApiException Retrieves next page of items- Parameters:
after
- the value of next pagelimit
- the max number of items to fetch in the next page- Returns:
- the payload containing pagination information and the list of items in the next page
- Throws:
com.symphony.bdk.http.api.ApiException
-