Class HateoasCollectionResponse<T>

java.lang.Object
com.helixframework.api.contract.HateoasResponse
com.helixframework.api.contract.HateoasCollectionResponse<T>
Type Parameters:
T - item type

public class HateoasCollectionResponse<T> extends HateoasResponse
API response that returns a collection with HATEOS links.
  • Constructor Details

  • Method Details

    • getCount

      public int getCount()
      Gets the number of items in the collection.
      Returns:
      number of items in the collection
    • getItems

      public Collection<T> getItems()
      Gets the items.
      Returns:
      items