iv>
<div class="memdoc">

<p>
Set the host for this URI. 
<p>
If null is passed in, the userinfo field is also set to null and the port is set to -1.<p>
Note: This method overwrites registry based authority if it previously existed in this URI.<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>newHost</em>&nbsp;</td><td>the host for this URI </td></tr>
  </table>
</dl>

</div>
</div><p>
<a class="anchor" nam