//okhttp/okhttp3/HttpUrl/toUrl toUrl¶ [jvm]\ @JvmName(name = "url") fun toUrl(): URL Returns this URL as a java.net.URL.