| Package | Description |
|---|---|
| io.apimatic.core | |
| io.apimatic.core.types.pagination |
| Modifier and Type | Method and Description |
|---|---|
<T,I,P> T |
ApiCall.paginate(java.util.function.Function<PaginatedData<I,P,ResponseType,ExceptionType>,T> converter,
java.util.function.Function<PageWrapper<I,ResponseType>,P> responseToPage,
java.util.function.Function<ResponseType,List<I>> responseToItems,
PaginationStrategy... strategies)
Prepare this ApiCall for pagination.
|
| Modifier and Type | Method and Description |
|---|---|
static <I,P> PageWrapper<I,P> |
PageWrapper.create(io.apimatic.coreinterfaces.http.response.Response response,
P page,
List<I> items,
PaginationStrategy strategy)
Create an instance of PageWrapper with provided page and meta data.
|
| Modifier and Type | Method and Description |
|---|---|
void |
PaginationStrategy.addMetaData(PageWrapper<?,?> page) |
void |
PagePagination.addMetaData(PageWrapper<?,?> page) |
void |
CursorPagination.addMetaData(PageWrapper<?,?> page) |
void |
LinkPagination.addMetaData(PageWrapper<?,?> page) |
void |
OffsetPagination.addMetaData(PageWrapper<?,?> page) |
| Constructor and Description |
|---|
PaginatedData(ApiCall<R,E> apiCall,
java.util.function.Function<PageWrapper<I,R>,P> pageCreator,
java.util.function.Function<R,List<I>> itemsCreator,
PaginationStrategy... strategies) |
Copyright © 2025. All rights reserved.