Copies this Uri but with the scheme set as the given value.
Copies this Uri but with the scheme set as the given value.
the new scheme to set
a new Uri with the specified scheme
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
a java.net.URI
matching this io.lemonlabs.uri.Uri
Returns the path with no encoders taking place (e.g.
Returns the path with no encoders taking place (e.g. non ASCII characters will not be percent encoded)
String containing the raw path for this Uri
Represents a URI. See RFC 3986
Can either be a URL or a URN
URLs will be one of these forms:
http://example.com
//example.com
mailto:[email protected]
/index.html?a=b
index.html?a=b
../index.html?a=b
URNs will be in the form
urn:example:example2