public class HalLinkDiscoverer extends JsonPathLinkDiscoverer
LinkDiscoverer
implementation based on HAL link structure.Modifier | Constructor and Description |
---|---|
|
HalLinkDiscoverer()
Constructor for
MediaTypes.HAL_JSON . |
protected |
HalLinkDiscoverer(MediaType... mediaTypes) |
Modifier and Type | Method and Description |
---|---|
protected Link |
extractLink(Object element,
LinkRelation rel)
Callback for each
LinkDiscoverer to extract relevant attributes and generate a Link . |
findLinksWithRel, findLinksWithRel, findLinkWithRel, findLinkWithRel, supports
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
findLinksWithRel, findLinksWithRel, findLinkWithRel, findLinkWithRel, findRequiredLinkWithRel, findRequiredLinkWithRel
public HalLinkDiscoverer()
MediaTypes.HAL_JSON
.protected HalLinkDiscoverer(MediaType... mediaTypes)
protected Link extractLink(Object element, LinkRelation rel)
JsonPathLinkDiscoverer
LinkDiscoverer
to extract relevant attributes and generate a Link
.extractLink
in class JsonPathLinkDiscoverer
Copyright © 2011–2021 Pivotal, Inc.. All rights reserved.