public interface LinkExtractor
LinkExtractor
is used to extract links
from a JSON response. The
expected format of the links in the response is determined by the implementation.Modifier and Type | Method and Description |
---|---|
Map<String,List<Link>> |
extractLinks(OperationResponse response)
Extract the links from the given
response , returning a Map of links
where the keys are the link rels. |
Map<String,List<Link>> extractLinks(OperationResponse response) throws IOException
response
, returning a Map
of links
where the keys are the link rels.response
- The response from which the links are to be extractedIOException
- if link extraction fails