public interface PaginationContext
HttpServletRequest
. The values encoded in the request's query string
(QUERY_FIELDS
) are extracted from the HttpServletRequest
and
represented by this object.Modifier and Type | Interface and Description |
---|---|
static interface |
PaginationContext.Builder
Build
PaginationContext instances |
Modifier and Type | Field and Description |
---|---|
static String |
ITEM_OFFSET
The zero based offset of the first item to appear in the page
|
static String |
LIMIT
The requested maximum number of items in the page.
|
static String |
PAGE_OFFSET
The zero based offset of the page
|
static List<String> |
QUERY_FIELDS
The reserved names of query string fields used by
Pagination . |
Modifier and Type | Method and Description |
---|---|
long |
itemOffset()
The zero based index offset of the first item to appear in the page
|
long |
limit()
The requested maximum number of items in the page.
|
PaginationContext.Builder |
modify()
Modify this
PaginationContext |
long |
pageOffset()
The zero based page offset
|
static final String ITEM_OFFSET
static final String LIMIT
static final String PAGE_OFFSET
static final List<String> QUERY_FIELDS
Pagination
.long itemOffset()
long limit()
Pagination.maximumLimit()
value.PaginationContext.Builder modify()
PaginationContext
PaginationContext.Builder
instancelong pageOffset()
Oracle REST Data Services Plugin API version: 3.0.0.65.09.35 Copyright © 2015 Oracle Corp. All Rights Reserved.