Package rs.jerseyclient.data
Class Link
java.lang.Object
rs.jerseyclient.data.Link
A link as defined by HATEOAS responses.
The class is usually required for correct JSON (de)serialization.
- Author:
- ralph
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
Link
public Link()Default constructor.
-
-
Method Details
-
getHref
Returns the HREF attribute (URL) of the link.- Returns:
- the HREF attribute (URL) of the link.
-
setHref
Sets the HREF attribute (URL) of the link.- Parameters:
href- the HREF attribute (URL) of the link.
-