public interface LinkDiscoverer extends org.springframework.plugin.core.Plugin<MediaType>
Modifier and Type | Method and Description |
---|---|
List<Link> |
findLinksWithRel(String rel,
InputStream representation)
Returns all links with the given relation type found in the given
InputStream representation. |
List<Link> |
findLinksWithRel(String rel,
String representation)
Returns all links with the given relation type found in the given
String representation. |
Link |
findLinkWithRel(String rel,
InputStream representation)
Finds a single link with the given relation type in the given
InputStream representation. |
Link |
findLinkWithRel(String rel,
String representation)
Finds a single link with the given relation type in the given
String representation. |
Link findLinkWithRel(String rel, String representation)
String
representation.rel
- must not be null or empty.representation
- must not be null or empty.Link findLinkWithRel(String rel, InputStream representation)
InputStream
representation.rel
- must not be null or empty.representation
- must not be null or empty.List<Link> findLinksWithRel(String rel, String representation)
String
representation.rel
- must not be null or empty.representation
- must not be null or empty.List<Link> findLinksWithRel(String rel, InputStream representation)
InputStream
representation.rel
- must not be null or empty.representation
- must not be null or empty.Copyright © 2012-2015–2015 Pivotal, Inc.. All rights reserved.