Lines Matching defs:port

118  * [<i>user-info</i><tt><b>@</b></tt>]<i>host</i>[<tt><b>:</b></tt><i>port</i>]
133 * <blockquote><table summary="Describes the components of a URI:scheme,scheme-specific-part,authority,user-info,host,port,path,query,fragment">
140 * <tr><td>port</td><td><tt>int</tt></td></tr>
160 * will be defined and the user-information and port components may be defined.
387 * colon following a host name but no port (as in
491 // Server-based authority: [<userInfo>@]<host>[:<port>]
494 private transient int port = -1; // -1 ==> undefined
540 * authority component is empty then the user-information, host, and port
604 * for the corresponding parameter or, in the case of the <tt>port</tt>
619 * <li><p> If user information, a host, or a port are given then the
632 * <li><p> If a port number is given then a colon character
633 * (<tt>':'</tt>) is appended, followed by the port number in decimal.
660 * @param port Port number
672 String userInfo, String host, int port,
677 null, userInfo, host, port,
868 * user-information, host, and port components.
872 * user-information, host, and port components. In this case, or if this
876 * component into user-information, host, and port components, and throws
900 * user-information, host, and port components. Invoking this method also
1182 * constrained to have valid user-information, host, and port
1279 * Returns the port number of this URI.
1281 * <p> The port component of a URI, if defined, is a non-negative
1284 * @return The port component of this URI,
1285 * or <tt>-1</tt> if the port is undefined
1288 return port;
1403 * equal without regard to case, their port numbers must be equal, and
1444 if (this.port != that.port) return false;
1475 h += 1949 * port;
1578 if ((c = this.port - that.port) != 0)
1666 port = -1; // Argh
1813 int port)
1827 if (port != -1) {
1829 sb.append(port);
1864 int port,
1890 appendAuthority(sb, authority, userInfo, host, port);
1912 int port,
1923 authority, userInfo, host, port,
1933 host, port, getPath(), getQuery());
1961 if (port != -1) {
1963 sb.append(port);
2037 ru.port = base.port;
2058 ru.port = base.port;
2073 ru.port = child.port;
2098 v.port = u.port;
3063 // userInfo, host, and port components are undefined.
3144 port = -1;
3175 // [<userinfo>@]<host>[:<port>]
3221 // port
3226 checkChars(p, q, L_DIGIT, H_DIGIT, "port number");
3228 port = Integer.parseInt(substring(p, q));
3230 fail("Malformed port number", p);
3236 failExpecting("port number", p);