public class ResponsePageGenerator<T> extends Object
Constructor and Description |
---|
ResponsePageGenerator(List<T> content,
Long total,
com.fasterxml.jackson.databind.JsonNode rawPageable) |
Modifier and Type | Method and Description |
---|---|
org.springframework.data.domain.Page<T> |
getPage() |
protected org.springframework.data.domain.Pageable |
resolvePageable(com.fasterxml.jackson.databind.JsonNode rawPageable)
Generates an appropriate pageable based off of the pageable data received.
|
protected org.springframework.data.domain.Pageable resolvePageable(com.fasterxml.jackson.databind.JsonNode rawPageable)
rawPageable
- the raw pageable data to base the pageable implementation off ofpublic org.springframework.data.domain.Page<T> getPage()
Copyright © 2021. All rights reserved.