- concat
Concatenates the urls with respect to leading and trailing slashes.
- checkSeparator
Checks that the path only contains the web path separator "/". If not, wrong
ones are replaced.
- checkUrl
Returns null if the url is valid, that is, if it contains only allowed
characters. Otherwhise, the i
- isExtendedPrefix
Returns true if url a is a prefix of url b. For example, /news is an ancestor of
/news/today/mornin
- removeDoubleSeparator
Removes any occurrence of double separators ("//") and replaces it with "/". Any
double separators r
- url
URL constructor function without checked exceptions.