//okhttp/okhttp3/HttpUrl/encodedPath
encodedPath¶
[jvm]\
@get:JvmName(name = "encodedPath")
val encodedPath: String
The entire path of this URL encoded for use in HTTP resource resolution. The returned path will start with "/"
.
URL | encodedPath() |
---|---|
http://host/ |
"/" |
http://host/a/b/c |
"/a/b/c" |
http://host/a/b%20c/d |
"/a/b%20c/d" |