Builder.url

Sets the URL target of this request.

@throws IllegalArgumentException if {@code url} is not a valid HTTP or HTTPS URL. Avoid this exception by calling {@link HttpURI#parse}; it returns null for invalid URLs.

  1. Builder url(HttpURI url)
  2. Builder url(string httpUri)
    class Builder
    url
    (
    string httpUri
    )

Meta