public class UberLinkDiscoverer extends Object implements LinkDiscoverer
| Modifier and Type | Method and Description |
|---|---|
Links |
findLinksWithRel(LinkRelation rel,
InputStream representation)
Returns all links with the given
LinkRelation found in the given InputStream representation. |
Links |
findLinksWithRel(LinkRelation rel,
String representation)
Returns all links with the given
LinkRelation found in the given String representation. |
Optional<Link> |
findLinkWithRel(LinkRelation rel,
InputStream representation)
Finds a single link with the given
LinkRelation in the given InputStream representation. |
Optional<Link> |
findLinkWithRel(LinkRelation rel,
String representation)
Finds a single link with the given
LinkRelation in the given String representation. |
boolean |
supports(MediaType delimiter) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitfindLinksWithRel, findLinksWithRel, findLinkWithRel, findLinkWithRel, findRequiredLinkWithRel, findRequiredLinkWithRelpublic Optional<Link> findLinkWithRel(LinkRelation rel, String representation)
LinkDiscovererLinkRelation in the given String representation.findLinkWithRel in interface LinkDiscovererrel - must not be null.representation - must not be null.Optional.empty() if none was found.public Optional<Link> findLinkWithRel(LinkRelation rel, InputStream representation)
LinkDiscovererLinkRelation in the given InputStream representation.findLinkWithRel in interface LinkDiscovererrel - must not be null.representation - must not be null.Link with the given LinkRelation found, or Optional.empty() if none was
found.public Links findLinksWithRel(LinkRelation rel, String representation)
LinkDiscovererLinkRelation found in the given String representation.findLinksWithRel in interface LinkDiscovererrel - must not be null.representation - must not be null.public Links findLinksWithRel(LinkRelation rel, InputStream representation)
LinkDiscovererLinkRelation found in the given InputStream representation.findLinksWithRel in interface LinkDiscovererrel - must not be null.representation - must not be null.Copyright © 2011–2023 Pivotal, Inc.. All rights reserved.