URL.getPort

URL.getPort

Class Overview | Class Members | This Package | All Packages

Syntax
public int getPort()
Returns
the port number
Description
Returns the port number of this URL. Returns -1 if the port is not set.