//okhttp/okhttp3/HttpUrl/encodedUsername
encodedUsername¶
[jvm]\
@get:JvmName(name = "encodedUsername")
val encodedUsername: String
The username, or an empty string if none is set.
URL | encodedUsername() |
---|---|
http://host/ |
"" |
http://username@host/ |
"username" |
http://username:password@host/ |
"username" |
http://a%20b:c%20d@host/ |
"a%20b" |