Lines Matching refs:host
108 * formal RFC host names!</em> You should thus always use lower case letters
129 private static final String HOST_STR = "host";
192 * authority host.
197 * authority host and port.
633 public AuthorityEntry(String host, String port) {
634 mOrigHost = host;
635 mWild = host.length() > 0 && host.charAt(0) == '*';
636 mHost = mWild ? host.substring(1).intern() : host;
665 * RFC host names. You thus should always normalize to lower-case.</em>
673 String host = data.getHost();
674 if (host == null) {
678 "Match host " + host + ": " + mHost);
680 if (host.length() < mHost.length()) {
683 host = host.substring(host.length()-mHost.length());
685 if (host.compareToIgnoreCase(mHost) != 0) {
705 * <p><em>Note: host name in the Android framework is
706 * case-sensitive, unlike formal RFC host names. As a result,
707 * you should always write your host names with lower case letters,
708 * and any host names you receive from outside of Android should be
711 * @param host The host part of the authority to match. May start with a
712 * single '*' to wildcard the front of the host name.
719 public final void addDataAuthority(String host, String port) {
723 mDataAuthorities.add(new AuthorityEntry(host.intern(), port));
876 * <p><em>Note: MIME type, Uri scheme, and host name matching in the
1237 String host = parser.getAttributeValue(null, HOST_STR);
1239 if (host != null) {
1240 addDataAuthority(host, port);