| Constructor and Description |
|---|
PageRequest(int limit)
Creates new page definition with limit and no offset (usually for the first page)
|
PageRequest(int offset,
int limit)
Creates new page definition with provided values.
|
PageRequest(String offset,
int limit)
Creates new page definition with provided values.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
URI |
getPageUri(org.springframework.web.util.UriComponentsBuilder uriBuilder)
Creates
URI for this page request. |
int |
hashCode() |
public PageRequest(int offset,
int limit)
offset - page offset (position in the collection)limit - maximal number of returned elements (on a page)public PageRequest(String offset, int limit)
offset - page offset (position in the collection)limit - maximal number of returned elements (on a page)public PageRequest(int limit)
limit - maximal number of returned elements (on a page)public URI getPageUri(org.springframework.web.util.UriComponentsBuilder uriBuilder)
PageURI for this page request.getPageUri in interface PageuriBuilder - URI builder used for generating page URICopyright © 2015. All Rights Reserved.