="external-link">Set</a>&lt;<a href="../core/Link.html" title="class in jakarta.ws.rs.core">Link</a>&gt;</span>&nbsp;<span class="element-name">getLinks</span>()</div>
<div class="block">Get the links attached to the message as header.</div>
<dl class="notes">
<dt>Returns:</dt>
<dd>links, may return empty <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/Set.html" title="class or interface in java.util" class="external-link"><code>Set</code></a> if no links are present. Never r