public class ResourceList<T> extends WrappedList<T>
JsonLinksInformation and JsonMetaInformation are used. Support
for proper unmarshalling into application-specific meta and links objects will be supported in the future.
Support for JsonLinksInformation and JsonMetaInformation will remain in the future
given that they are requested by getLinksInformation(Class) or getMetaInformation(Class).| Constructor and Description |
|---|
ResourceList(List<T> list,
LinksInformation links,
MetaInformation meta) |
| Modifier and Type | Method and Description |
|---|---|
LinksInformation |
getLinksInformation() |
<L extends LinksInformation> |
getLinksInformation(Class<L> linksClass) |
MetaInformation |
getMetaInformation() |
<M extends MetaInformation> |
getMetaInformation(Class<M> metaClass) |
add, add, addAll, addAll, clear, contains, containsAll, get, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, retainAll, set, size, subList, toArray, toArraypublic ResourceList(List<T> list, LinksInformation links, MetaInformation meta)
public LinksInformation getLinksInformation()
public MetaInformation getMetaInformation()
public <L extends LinksInformation> L getLinksInformation(Class<L> linksClass)
public <M extends MetaInformation> M getMetaInformation(Class<M> metaClass)
Copyright © 2016. All Rights Reserved.