encodedPathSegments
A list of encoded 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.
URL | encodedPathSegments() |
---|---|
http://host/ | [""] |
http://host/a/b/c | ["a", "b", "c"] |
http://host/a/b%20c/d | ["a", "b%20c", "d"] |