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
OkUrl 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. |
Modifier and Type | Method and Description |
---|---|
Request.Builder |
Request.Builder.url(HttpUrl url) |
Copyright © 2015. All Rights Reserved.