Class HalLinks

java.lang.Object
com.vonage.client.JsonableBaseObject
com.vonage.client.common.HalLinks
All Implemented Interfaces:
Jsonable

public class HalLinks extends JsonableBaseObject
Represents the _links section of a HAL response.
  • Constructor Details

  • Method Details

    • getFirstUrl

      public URI getFirstUrl()
      The href property of first.
      Returns:
      URL of the first page, or null if absent.
    • getSelfUrl

      public URI getSelfUrl()
      The href property of self.
      Returns:
      URL of the current page, or null if absent.
    • getPrevUrl

      public URI getPrevUrl()
      The href property of prev.
      Returns:
      URL of the previous page, or null if absent.
    • getNextUrl

      public URI getNextUrl()
      The href property of next.
      Returns:
      URL of the next page, or null if absent.
    • getLastUrl

      public URI getLastUrl()
      The href property of last.
      Returns:
      URL of the last page, or null if absent.