Home | History | Annotate | Download | only in cookie

Lines Matching defs:domain

52         String domain = cookie.getDomain();
54 int domainParts = new StringTokenizer(domain, ".").countTokens();
56 if (isSpecialDomain(domain)) {
58 throw new MalformedCookieException("Domain attribute \""
59 + domain
65 throw new MalformedCookieException("Domain attribute \""
66 + domain
74 * Checks if the given domain is in one of the seven special
76 * @param domain The domain.
77 * @return True if the specified domain is "special"
79 private static boolean isSpecialDomain(final String domain) {
80 final String ucDomain = domain.toUpperCase(Locale.ENGLISH);
99 String domain = cookie.getDomain();
100 if (domain == null) {
103 return host.endsWith(domain);