Class PaginationUtil
- java.lang.Object
-
- org.powertac.visualizer.web.rest.util.PaginationUtil
-
public final class PaginationUtil extends Object
Utility class for handling pagination.Pagination uses the same principles as the Github API, and follow RFC 5988 (Link header).
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static org.springframework.http.HttpHeaders
generatePaginationHttpHeaders(org.springframework.data.domain.Page page, String baseUrl)
-
-
-
Method Detail
-
generatePaginationHttpHeaders
public static org.springframework.http.HttpHeaders generatePaginationHttpHeaders(org.springframework.data.domain.Page page, String baseUrl) throws URISyntaxException
- Throws:
URISyntaxException
-
-