public static interface PaginationContext.Builder
PaginationContext instances| Modifier and Type | Method and Description |
|---|---|
PaginationContext |
build()
Create the immutable
PaginationContext instance |
PaginationContext.Builder |
itemOffset(long itemOffset)
Specify the offset of the first item to appear in the page
|
PaginationContext.Builder |
limit(long limit)
Specify the maximum number of items in the page
|
PaginationContext.Builder |
pageOffset(long pageOffset) |
PaginationContext build()
PaginationContext instancePaginationContext instancePaginationContext.Builder itemOffset(long itemOffset)
itemOffset - The item offsetPaginationContext.Builder limit(long limit)
limit - The maximum number of itemsPaginationContext.Builder pageOffset(long pageOffset)