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