List<RiakLink> links = new ArrayList<RiakLink>();
Map<String, List<Map<String, String>>> parsedLinks = LinkHeader.parse(header);
for (Entry<String, List<Map<String, String>>> e: parsedLinks.entrySet()) {
String url = e.getKey();
for (Map<String,String> params : e.getValue()) {
RiakLink link = parseOneLink(url, params);
if (link != null) {
links.add(link);
}
}
}