Lines Matching refs:host

53  * information resides on a host machine named
54 * <code>www.socs.uts.edu.au</code>. The information on that host
56 * meaning of this name on the host machine is both protocol
57 * dependent and host dependent. The information normally resides in
62 * port number to which the TCP connection is made on the remote host
109 * the protocol, host name, or port number is missing, the value is
161 * The host name to connect to.
164 private String host;
173 * The specified file name on that host. <code>file</code> is
207 * The host's IP address, used in equals and hashCode.
227 * <code>protocol</code>, <code>host</code>, <code>port</code>
230 * <code>host</code> can be expressed as a host name or a literal
292 * @param host the name of the host.
293 * @param port the port number on the host.
294 * @param file the file on the host
303 public URL(String protocol, String host, int port, String file)
306 this(protocol, host, port, file, null);
311 * name, <code>host</code> name, and <code>file</code> name. The
316 * <code>host</code>, <code>-1</code>, and <code>file</code>.
321 * @param host the name of the host.
322 * @param file the file on the host.
327 public URL(String protocol, String host, String file)
329 this(protocol, host, -1, file);
334 * <code>protocol</code>, <code>host</code>, <code>port</code>
353 * @param host the name of the host.
354 * @param port the port number on the host.
355 * @param file the file on the host
371 public URL(String protocol, String host, int port, String file,
383 if (host != null) {
386 * if host is a literal IPv6 address,
389 if (host.indexOf(':') >= 0 && !host.startsWith("[")) {
390 host = "["+host+"]";
392 this.host = host;
399 authority = (port == -1) ? host : host + ":" + port;
402 Parts parts = new Parts(file, host);
580 host = context.host;
662 * @param host the name of the host
663 @param port the port number on the host
664 * @param file the file on the host
667 protected void set(String protocol, String host,
671 this.host = host;
672 authority = port == -1 ? host : host + ":" + port;
695 * @param host the name of the host
696 * @param port the port number on the host
699 * @param path the file on the host
704 protected void set(String protocol, String host, int port,
709 this.host = host;
799 * Gets the host name of this <code>URL</code>, if applicable.
800 * The format of the host conforms to RFC 2732, i.e. for a
804 * @return the host name of this <code>URL</code>.
807 return host;
843 * equivalent hosts, have the same port number on the host, and the same
847 * the same protocol, host, port, file, and reference.
850 * <p>Some implementations of URL.equals() resolve host names over the
865 * host name varies by network and over time. This is problematic for mobile
870 * release, URLs are only equal if their host names are equal (ignoring
1281 ((host != null && host.length() > 0) || port != -1)) {
1282 if (host == null)
1283 host = "";
1284 authority = (port == -1) ? host : host + ":" + port;
1287 int at = host.lastIndexOf('@');
1289 userInfo = host.substring(0, at);
1290 host = host.substring(at+1);
1318 Parts(String file, String host) {
1330 host != null && !host.isEmpty()) {