code: public static ListMultimap<String, Link> getAllLinks(HalResource hal, Predicate<Pair<String, Link>> predicate) {
      return getAllLinks(hal, "self", predicate);
    }
docs: Returns all links in a HAL resource and its embedded resources except CURI links fitting the given predicate.
  @param hal HAL resource
  @param predicate Predicate to filter
  @return Map of Relations and Links