Class HalResourceArray

All Implemented Interfaces:
Serializable, Cloneable, Iterable<HalResource>, Collection<HalResource>, Deque<HalResource>, List<HalResource>, Queue<HalResource>

Represents a list of HalResource objects.

Serializes as a top-level JSON array when used as a value inside a HAL _embedded map. Mirrors the top-level-array pattern used by JsonSchemaArray.

  • Constructor Details

    • HalResourceArray

      Default constructor.
    • HalResourceArray

      public HalResourceArray(HalResource... value)
      Constructor with predefined resources to add to this array.
      Parameters:
      value - The list of resources in this array.
  • Method Details