Modifier and Type | Method and Description |
---|---|
HttpUrl |
HttpUrl.Builder.build() |
static HttpUrl |
HttpUrl.get(URI uri) |
static HttpUrl |
HttpUrl.get(URL url)
|
HttpUrl |
Request.httpUrl() |
static HttpUrl |
HttpUrl.parse(String url)
Returns a new
HttpUrl representing url if it is a well-formed HTTP or HTTPS
URL, or null if it isn't. |
HttpUrl |
HttpUrl.resolve(String link)
Returns the URL that would be retrieved by following
link from this URL. |
HttpUrl |
Address.url()
Returns a URL with the hostname and port of the origin server.
|
Modifier and Type | Method and Description |
---|---|
Request.Builder |
Request.Builder.url(HttpUrl url) |
Copyright © 2016. All Rights Reserved.