Lines Matching defs:host
81 * Returns true if {@code host} matches the domain pattern {@code domain}.
83 * @param domainPattern a host name (like {@code android.com} or {@code
87 * @param host the host name or IP address from an HTTP request.
89 public static boolean domainMatches(String domainPattern, String host) {
90 if (domainPattern == null || host == null) {
94 String a = host.toLowerCase(Locale.US);
98 * From the spec: "both host names are IP addresses and their host name strings match
99 * exactly; or both host names are FQDN strings and their host name strings match exactly"
111 * host "google.com".