Represents a URI. See RFC 3986
Can either be a URL or a URN
URLs will be one of these forms:
-
Absolute: `http://example.com`
- Protocol Relative:
//example.com
- Without Authority:
mailto:[email protected]
-
Root Relative: `/index.html?a=b`
- Rootless Relative:
index.html?a=b
- Rootless Relative
(with doc segment):
../index.html?a=b
URNs will be in the form urn:example:example2
- Companion
- object
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
trait Url
class RelativeUrl
trait UrlWithAuthority
class AbsoluteUrl
class ProtocolRelativeUrl
class ScpLikeUrl
trait UrlWithScheme
trait UrlWithoutAuthority
class DataUrl
class Urn
Type members
Value members
Abstract methods
Similar to ==
but ignores the ordering of any query string parameters
Similar to ==
but ignores the ordering of any query string parameters
Concrete methods
Converts to a java.net.URI
Converts to a java.net.URI
This involves a toString
and URI.parse
because the specific java.net.URI
constructors do not deal properly with encoded elements
- Returns
a
java.net.URI
matching thisio.lemonlabs.uri.Uri