Returns a copy of this Uri with the given components.
The effective port of this Uri given the currently set authority and scheme values.
The effective port of this Uri given the currently set authority and scheme values. If the authority has an explicitly set port (i.e. a non-zero port value) then this port is the effective port. Otherwise the default port for the current scheme is returned.
Returns a new absolute Uri that is the result of the resolution process defined by http://tools.
Returns a new absolute Uri that is the result of the resolution process defined by http://tools.ietf.org/html/rfc3986#section-5.2.2 The given base Uri must be absolute.
Converts this URI to an "effective HTTP request URI" as defined by http://tools.
Converts this URI to an "effective HTTP request URI" as defined by http://tools.ietf.org/html/rfc7230#section-5.5
Converts this URI into a relative URI by keeping the path, query and fragment, but dropping the scheme and authority.
Returns a copy of this Uri with a Authority created using the given host and port.
Returns a copy of this Uri with a Authority created using the given host, port and userinfo.
Returns a copy of this Uri with the given authority.
Returns a copy of this Uri with the given fragment.
Returns a copy of this Uri with the given host.
Returns a copy of this Uri with the given host.
Returns a copy of this Uri with the given path.
Returns a copy of this Uri with the given port.
Returns a copy of this Uri with a Query created using the given map.
Returns a copy of this Uri with a Query created using the given (key, value) tuples.
Returns a copy of this Uri with a Query created using the given query string.
Returns a copy of this Uri with the given query.
Returns a copy of this Uri with the given scheme.
Returns a copy of this Uri with the given scheme. The scheme
change of the Uri has the following
effect on the port value:
Returns a copy of this Uri with the given userinfo.
Drops the fragment from this URI
(uri: StringAdd).self
(uri: StringFormat).self
(uri: ArrowAssoc[Uri]).x
(Since version 2.10.0) Use leftOfArrow
instead
(uri: Ensuring[Uri]).x
(Since version 2.10.0) Use resultOfEnsuring
instead
An immutable model of an internet URI as defined by http://tools.ietf.org/html/rfc3986. All members of this class represent the *decoded* URI elements (i.e. without percent-encoding).