Package org.apache.juneau.rest.beans
Class ChildResourceDescriptions
java.lang.Object
java.util.AbstractCollection<E>
java.util.AbstractList<E>
java.util.ArrayList<ResourceDescription>
org.apache.juneau.rest.beans.ResourceDescriptions
org.apache.juneau.rest.beans.ChildResourceDescriptions
- All Implemented Interfaces:
- Serializable,- Cloneable,- Iterable<ResourceDescription>,- Collection<ResourceDescription>,- List<ResourceDescription>,- RandomAccess
A POJO structure that describes the list of child resources associated with a resource.
 
Typically used in top-level GET methods of router resources to render a list of available child resources.
See Also:
- 
Field SummaryFields inherited from class java.util.AbstractListmodCount
- 
Constructor SummaryConstructorsConstructorDescriptionBean constructor.ChildResourceDescriptions(RestContext context, RestRequest req) Constructor.ChildResourceDescriptions(RestContext context, RestRequest req, boolean sort) Constructor.Constructor.
- 
Method SummaryModifier and TypeMethodDescriptionstatic ChildResourceDescriptionsof(RestRequest req) Static creator.Methods inherited from class org.apache.juneau.rest.beans.ResourceDescriptionsappend, append, createMethods inherited from class java.util.ArrayListadd, add, addAll, addAll, clear, clone, contains, ensureCapacity, equals, forEach, get, hashCode, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, removeIf, removeRange, replaceAll, retainAll, set, size, sort, spliterator, subList, toArray, toArray, trimToSizeMethods inherited from class java.util.AbstractCollectioncontainsAll, toStringMethods inherited from class java.lang.Objectfinalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface java.util.CollectionparallelStream, stream, toArrayMethods inherited from interface java.util.ListcontainsAll
- 
Constructor Details- 
ChildResourceDescriptionsConstructor.- Parameters:
- req- The HTTP servlet request.
 
- 
ChildResourceDescriptionsConstructor.- Parameters:
- context- The servlet context that this bean describes.
- req- The HTTP servlet request.
 
- 
ChildResourceDescriptionsConstructor.- Parameters:
- context- The servlet context that this bean describes.
- req- The HTTP servlet request.
- sort- If- true , list will be ordered by name alphabetically. Default is to maintain the order as specified in the annotation.
 
- 
ChildResourceDescriptionspublic ChildResourceDescriptions()Bean constructor.
 
- 
- 
Method Details- 
ofStatic creator.- Parameters:
- req- The HTTP servlet request.
- Returns:
- A new ChildResourceDescriptionsbean.
 
 
-