Replace the host.
Replace the host. Does not validate the new host value if it's nonempty.
Replace the host.
Replace the host. Does not validate the new host value if it's nonempty.
Replace the port.
Replace the port.
Replace the user info.
Replace the user info with username/password combination.
Replace the user info with a username only.
(Since version ) see corresponding Javadoc for more information.