Lines Matching defs:host
96 String host;
117 * Extract the host and port. The host may be an IPv6 address with
131 host = spec.substring(hostStart, hostEnd);
147 host = url.getHost();
148 if (host == null) {
149 host = "";
192 setURL(url, url.getProtocol(), host, port, authority, userInfo, path, query, ref);
217 * @param host
218 * the host name.
229 protected void setURL(URL u, String protocol, String host, int port,
234 u.set(protocol, host, port, file, ref);
241 protected void setURL(URL u, String protocol, String host, int port,
247 u.set(protocol, host, port, authority, userInfo, path, query, ref);
301 * Returns true if {@code a} and {@code b} have the same protocol, host,
319 * Returns the host address of {@code url}.
323 String host = url.getHost();
324 if (host == null || host.length() == 0) {
327 return InetAddress.getByName(host);
344 // URLs with the same case-insensitive host name have equal hosts
351 * Returns true if {@code a} and {@code b} have the same protocol, host,