HI, In org.apache.cxf.jaxrs.impl.ResponseImpl.getAllLinks() , we put link into a LinkedHashMap and use link.getRel() as key: links.put(link.getRel(), link); However, link.getRel() may return null, in such case, we will lose links if multiple links's rel is null due to duplicate key. See below javadoc for Link: getRel() Returns the value associated with the link rel param, or null if this param is not specified.
Can you please take a look at the problem? I have already created a jira https://issues.apache.org/jira/browse/CXF-6352 for it and attached a proposed fix. Thanks a lot! Iris Ding -- View this message in context: http://cxf.547215.n5.nabble.com/ContainerResponseContext-getLinks-lose-links-tp5756063.html Sent from the cxf-dev mailing list archive at Nabble.com.
