core/src/main/java/net/typedrest/AbstractEndpoint.java
public final void setDefaultLink(String rel, String... hrefs) {
        if (hrefs == null || hrefs.length == 0) {
            defaultLinks.remove(rel);
        } else {
            defaultLinks.put(rel,
                    stream(hrefs).map(uri::resolve).collect(toSet()));
        }
    }
public final void setDefaultLink(String rel, String... hrefs) {
        if (hrefs == null || hrefs.length == 0) {
            defaultLinks.remove(rel);
        } else {
            defaultLinks.put(rel,
                    stream(hrefs).map(uri::resolve).collect(toSet()));
        }
    }
Registers one or more default links for a specific relation type. These
links are used when no links with this relation type are provided by the
server.

This method is not thread-safe! Call this before performing any requests.

@param rel The relation type of the links to add.
@param hrefs The hrefs of links relative to this endpoint's URI. Use
<code>null</code> or an empty list to remove all previous entries for the
relation type.

@see Endpoint#getLinks(java.lang.String)
@see Endpoint#getLinksWithTitles(java.lang.String)
@see Endpoint#link(java.lang.String)