Class RestList<T>

  • Type Parameters:
    T -
    All Implemented Interfaces:
    PageResponse<T>, NavigationAware, Iterable<T>, Collection<T>, List<T>

    @ExperimentalApi
    public final class RestList<T>
    extends RestObject
    implements PageResponse<T>, List<T>, NavigationAware
    The RestList participates in our collection serialization by jackson, and allows collections to be enriched with extra properties during serialization. It wraps a pageResponse, and allows extra fields to be added as jsonProperties. This map of properties is added to by the property enrichers, and is ultimately used by the RestEntitySerializer to convert the object to json