Example usage for Java org.springframework.hateoas Links fields, constructors, methods, implement or subclass
The text is from its open source code.
Optional | getLink(String relation) Returns a Link with the given relation if contained in the current Links instance, Optional#empty() otherwise. |
Optional | getLink(LinkRelation rel) Returns the Link with the given rel. |
boolean | hasLink(String relation) Returns whether the Links container contains a Link with the given relation. |
boolean | hasLink(LinkRelation relation) Returns whether the current Links contains a Link with the given relation. |
Links | valueOf(String source) Creates a Links instance from the given RFC5988-compatible link format. |