public class CollectionLinks extends Links
Constructor and Description |
---|
CollectionLinks() |
Modifier and Type | Method and Description |
---|---|
Link |
getNext() |
static java.lang.String |
getPaginatedUrl(java.lang.String url,
int page,
int pageSize) |
Link |
getPrevious() |
CollectionLinks |
setNext(Link next) |
CollectionLinks |
setNext(java.lang.String url,
int currentPage,
int pageSize,
int total) |
CollectionLinks |
setPrevious(Link previous) |
CollectionLinks |
setPrevious(java.lang.String url,
int currentPage,
int pageSize) |
public Link getNext()
public CollectionLinks setNext(Link next)
public Link getPrevious()
public CollectionLinks setPrevious(Link previous)
public CollectionLinks setNext(java.lang.String url, int currentPage, int pageSize, int total)
public CollectionLinks setPrevious(java.lang.String url, int currentPage, int pageSize)
public static java.lang.String getPaginatedUrl(java.lang.String url, int page, int pageSize)