(Spring)(Pageable) Page 객체의 구현체 PageImpl의 커스터 마이징
@JsonIgnoreProperties(value = {"pageable", "last", "totalPages", "totalElements", "size", "number", "first", "numberOfElements", "sort", "empty"}) public class CustomPageImpl extends PageImpl { @JsonCreator public CustomPageImpl(List content, Pageable pageable, long total) { super(content,pageable.getSort().isSorted() ? pageable : PageRequest.of(pageable.getPageNumber(), pageable.getPageSize(), ..
2019. 6. 18.