Paginated
Response
Constructor to init the PaginatedResponse
Parameters
The data retrieved by the request
The number of the page requested
The size of the maximum items for page
The CrudRepository used to retrieve the data from the database, it is used to automatically detect if the page is the last one available
Constructor to init the PaginatedResponse
Parameters
The data retrieved by the request
The number of the page requested
The size of the maximum items for page
The total amount of data available, it is used to automatically detect if the page is the last one available
Constructor to init the PaginatedResponse
Parameters
The data retrieved by the request
The number of the page requested
The size of the maximum items for page
Whether the retrieved page is the last available
Constructor to init the PaginatedResponse
Parameters
The helper to fetch from the response the data to use for the PaginatedResponse