Interface HalAppender.LinkArrayBuilder

Enclosing interface:
HalAppender

public static interface HalAppender.LinkArrayBuilder
Builder for link arrays.
  • Method Summary

    Modifier and Type
    Method
    Description
    append(String name, String href)
    Append a link to the array.
    void
    Builds the array and appends the it to the json response.
  • Method Details

    • append

      Append a link to the array.
      Parameters:
      name - name of link
      href - link target
      Returns:
      this
    • build

      void build()
      Builds the array and appends the it to the json response.