setDefaultLinkTemplate

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 should only be called during initial setup of the endpoint.

Parameters

rel

The relation type of the link template to add.

href

The href of the link template relative to this endpoint's URI. Use null to remove any previous entry for the relation type.