public class LinkPagination extends Object implements PaginationStrategy
| Constructor and Description |
|---|
LinkPagination(String next) |
| Modifier and Type | Method and Description |
|---|---|
void |
addMetaData(PageWrapper<?,?> page) |
HttpRequest.Builder |
apply(PaginatedData<?,?,?,?> paginatedData) |
public LinkPagination(String next)
next - JsonPointer of a field in response, representing next request queryUrl.public HttpRequest.Builder apply(PaginatedData<?,?,?,?> paginatedData)
apply in interface PaginationStrategypaginatedData - Data to be processed for validity.public void addMetaData(PageWrapper<?,?> page)
addMetaData in interface PaginationStrategypage - A pageWrapper instance that will be updated with meta data.Copyright © 2025. All rights reserved.