url

fun url(locator: Locator): Url

Returns the URL to the resource represented by the given locator, relative to the publication's link with self relation.


fun url(link: Link, parameters: Map<String, String> = emptyMap()): Url

Returns the URL to the resource represented by the given link, relative to the publication's link with self relation.

If the link HREF is a template, the parameters are used to expand it according to RFC 6570.


fun url(href: Href, parameters: Map<String, String> = emptyMap()): Url

Returns the URL to the resource represented by the given href, relative to the publication's link with self relation.

If the HREF is a template, the parameters are used to expand it according to RFC 6570.