public class Link
extends Object
Details for a link in a
HAL-formatted
response.
- Since:
- 2.0.0
- Author:
- Andy Wilkinson
-
Constructor Summary
Constructors
Creates a new
Link
with the given
href
.
-
Method Summary
Returns the href of the link.
boolean
Returns whether or not 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 or not the
href
is templated.
- Returns:
true
if the href is templated, otherwise false
-