Class Container<T>

    • Constructor Detail

      • Container

        public Container()
    • Method Detail

      • get

        public abstract T get​(String name)
        Gets the individual member by its name
        Parameters:
        name - identifying the member
        Returns:
        individual member
      • getDynamic

        public final T getDynamic​(String name)
      • iterator

        public Iterator<T> iterator​(int start,
                                    int limit)
        Base implementation of pagination that is dumb.
        Specified by:
        iterator in interface Pageable<T>
        Parameters:
        start - starting index requested from collection
        limit - max number of item requested in the page
        Returns:
        filtered collection
      • list

        @WebMethod(name="")
        @GET
        public Pageable<T> list()
        When GET is requested on '/', serve the collection
        Returns:
        collection in this container