Skip to content

//okhttp/okhttp3/HttpUrl/password

password

[jvm]\

@get:JvmName(name = "password")

val password: String

Returns the decoded password, or an empty string if none is present.

URL password()
http://host/ ""
http://username@host/ ""
http://username:password@host/ "password"
http://a%20b:c%20d@host/ "c d"