Converts this instance to a java.
Converts this instance to a java.net.URL if possible. This will succeed if isURL would return true.
if some of the necessary information is missing, i.e. this instance is relative.
Gets the extension of the last path segment, if any.
Gets the last path segment, if any.
Gets the host and port parts as a string.
Gets the host and port parts as a string. E.g. "localhost:8080"
Tests whether this instance is convertible to an absolute URL.
Gets the path concatenated with the fragment identifier (if any) and the query parameters (if any).
Tests whether this instances starts with another instance.
Tests whether this instances starts with another instance. This is true if both endpoints are the same (possibly None) and this path starts with thie other path.
Creates a new instance, replacing any query string with a new one formed from a map of key/values pairs.
Provides a utility wrapper for URLs that splits them into their component parts and allows alteration and reassembly with different components. Instances may be relative URLs.
Use the case-class 'copy' method to alter components.
(Since version Since v0.18.11) Replaced by Href