resolve

fun resolve(link: String): HttpUrl?

Returns the URL that would be retrieved by following link from this URL, or null if the resulting URL is not well-formed.