Determines the effective request URI according to the logic defined at http://tools.
Determines the effective request URI according to the logic defined at http://tools.ietf.org/html/rfc7230#section-5.5
Throws an IllegalUriException if the URI is relative and the headers
don't
include a valid Host header or if URI authority and Host header don't match.
Verifies that the given Uri is non-empty and has either scheme http
, https
or no scheme at all.
Verifies that the given Uri is non-empty and has either scheme http
, https
or no scheme at all.
If any of these conditions is not met the method throws an IllegalArgumentException.