public class Link
extends Object
Details for a link in a
HAL-formatted
response.
- Since:
- 2.0.0
-
Constructor Summary
Constructors
Creates a new
Link with the given
href.
-
Method Summary
Returns the href of the link.
boolean
Returns whether the
href is templated.
-
Constructor Details
-
Link
Creates a new
Link with the given
href.
- Parameters:
href - the href
-
Method Details
-
getHref
Returns the href of the link.
- Returns:
- the href
-
isTemplated
public boolean isTemplated()
Returns whether the
href is templated.
- Returns:
true if the href is templated, otherwise false
-