Class LinkMixin
java.lang.Object
org.springframework.hateoas.Link
org.springframework.hateoas.mediatype.hal.LinkMixin
- All Implemented Interfaces:
Serializable
Custom mixin to avoid rel attributes being rendered for HAL.
- Author:
- Alexander Baetz, Oliver Gierke, Greg Turnquist
- See Also:
-
Field Summary
Fields inherited from class org.springframework.hateoas.Link
ATOM_NAMESPACE
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.springframework.hateoas.Link
andAffordance, andAffordances, equals, expand, expand, getAffordances, getHref, getMedia, getRel, getTemplate, getVariableNames, getVariables, hashCode, hasRel, hasRel, of, of, of, of, toString, toUri, valueOf, withAffordances, withDeprecation, withHref, withHreflang, withMedia, withName, withProfile, withRel, withRel, withSelfRel, withTitle, withType
-
Constructor Details
-
LinkMixin
public LinkMixin()
-
-
Method Details
-
of
-
getHreflang
- Overrides:
getHreflang
in classLink
-
getTitle
-
getType
-
getDeprecation
- Overrides:
getDeprecation
in classLink
-
getProfile
- Overrides:
getProfile
in classLink
-
getName
-
isTemplated
public abstract boolean isTemplated()Description copied from class:Link
Returns whether or not the link is templated.- Overrides:
isTemplated
in classLink
- Returns:
-