core/src/main/java/net/typedrest/AbstractEndpoint.java
public final void setDefaultLinkTemplate(String rel, String href) {
        if (href == null) {
            defaultLinkTemplates.remove(rel);
        } else {
            defaultLinkTemplates.put(rel, href);
        }
    }
public final void setDefaultLinkTemplate(String rel, String href) {
        if (href == null) {
            defaultLinkTemplates.remove(rel);
        } else {
            defaultLinkTemplates.put(rel, href);
        }
    }
Registers a default link template for a specific relation type. This
template is used when no template with this relation type is provided by
the server.

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

@param rel The relation type of the link template to add.
@param href The href of the link template relative to this endpoint's
URI. Use <code>null</code> to remove any previous entry for the relation
type.

@see Endpoint#linkTemplate(java.lang.String)