okhttp / okhttp3 / HttpUrl / url

url

fun url(): URL

Returns this URL as a java.net.URL.