pathSegments

@get:JvmName(name = "pathSegments")
val pathSegments: List<String>

A list of path segments like ["a", "b", "c"] for the URL http://host/a/b/c. This list is never empty though it may contain a single empty string.

URLpathSegments()
http://host/[""]
http://host/a/b/c"["a", "b", "c"]
http://host/a/b%20c/d"["a", "b c", "d"]