Returns a copy of this Uri with the given components.
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.
Renders this Uri into the given Renderer as defined by http://tools.
Renders this Uri into the given Renderer as defined by http://tools.ietf.org/html/rfc3986. All Uri components are encoded and joined as required by the spec. The given charset is used to produce percent-encoded representations of potentially existing non-ASCII characters in the different components.
Renders this Uri (without the fragment component) into the given Renderer as defined by http://tools.
Renders this Uri (without the fragment component) into the given Renderer as defined by http://tools.ietf.org/html/rfc3986. All Uri components are encoded and joined as required by the spec. The given charset is used to produce percent-encoded representations of potentially existing non-ASCII characters in the different components.
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/draft-ietf-httpbis-p1-messaging-22#section-5.5.
Converts this URI into a relative URI by keeping the path, query and fragment, but dropping the scheme and authority.
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 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 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 authority.
Returns a copy of this Uri with the given fragment.
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 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 path.
Returns a copy of this Uri with the given port.
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 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 (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 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 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:
- If the Uri has a non-default port for the scheme before the change this port will remain unchanged.
- If the Uri has the default port for the scheme before the change it will have the default port for
the new scheme after the change.
Returns a copy of this Uri with the given userinfo.
Returns a copy of this Uri with the given userinfo.
Drops the fragment from this URI
Drops the fragment from this URI