>
</div>
<div class="memdoc">

<p>
Set the port for this URI. 
<p>
-1 is used to indicate that the port is not specified, otherwise valid port numbers are between 0 and 65535. If a valid port number is passed in and the host field is null, an exception is thrown.<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>newPort</em>&nbsp;</td><td>the port number for this URI </td></tr>
  </table>
</dl>

</div>
</div