Package info.ejava.examples.common.dto.paging
package info.ejava.examples.common.dto.paging
-
ClassDescriptionThis class is responsible for serializing and deserializing a Spring Data Pageable object to/from an API.This mutable adapter class is used to unmarshal JSON/XML using Jackson and build a resulting immutable object.This adapter is called by JAXB when a class -- like the PageableDTO -- declares a XmlJavaTypeAdapter to handle marshaling and demarshaling through a facade object.This adapter is called by Jackson to marshal the unmutable PageableDTO.PageDTO<T>PageDTO.Ctor<T,
R extends PageDTO> This class is used to encode and decode a Spring Data Sort for use in API calls so that it can be sent in a single queryParameter and returned in a single string property or XML attribute.