//okhttp/okhttp3/HttpUrl/encodedFragment
encodedFragment¶
[jvm]\
@get:JvmName(name = "encodedFragment")
val encodedFragment: String?
This URL’s encoded fragment, like "abc"
for http://host/#abc
. This is null if the URL has no fragment.
URL | encodedFragment() |
---|---|
http://host/ |
null |
http://host/# |
"" |
http://host/#abc |
"abc" |
http://host/#abc | def |