Lines Matching refs:host

44  * address as the host.
47 * (e.g., "http" is equivalent to "HTTP"). The host part is also not
50 * MUST compare the scheme and host without regard to case, but assume
63 * of an IP-based protocol to a specified host on the Internet use a
66 * //<user>:<password>@<host>:<port>/<url-path>
85 private String host;
116 host = uri.getHost();
117 // RFC 3280 says that the host should be non-null, but we allow it to
121 if (host != null) {
122 if (host.charAt(0) == '[') {
123 // Verify host is a valid IPv6 address name
124 String ipV6Host = host.substring(1, host.length()-1);
128 throw new IOException("invalid URI name (host " +
133 hostDNS = new DNSName(host);
138 hostIP = new IPAddressName(host);
140 throw new IOException("invalid URI name (host " +
167 String host = uri.getSchemeSpecificPart();
170 if (host.charAt(0) == '.') {
171 hostDNS = new DNSName(host.substring(1));
173 hostDNS = new DNSName(host);
175 return new URIName(uri, host, hostDNS);
186 URIName(URI uri, String host, DNSName hostDNS) {
188 this.host = host;
259 * Return the host name or IP address portion of the URIName
261 * @returns host name or IP address portion of full name
264 return host;
268 * Return the host object type; if host name is a
269 * DNSName, then this host object does not include any
272 * @returns host name as DNSName or IPAddressName
306 * RFC3280: For URIs, the constraint applies to the host part of the name.
307 * The constraint may specify a host or a domain. Examples would be
313 * specifies a host.
330 // only need to compare the host portion of the name
335 if (otherHost.equalsIgnoreCase(host)) {
345 // Both host portions are DNS names. Are they domains?
346 boolean thisDomain = (host.charAt(0) == '.');
389 dnsName = new DNSName(host);