Home | History | Annotate | Download | only in cookie

Lines Matching defs:cookie

2  * $HeadURL: http://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk/module-client/src/main/java/org/apache/http/impl/cookie/NetscapeDomainHandler.java $
31 package org.apache.http.impl.cookie;
36 import org.apache.http.cookie.Cookie;
37 import org.apache.http.cookie.CookieOrigin;
38 import org.apache.http.cookie.MalformedCookieException;
53 public void validate(final Cookie cookie, final CookieOrigin origin)
55 super.validate(cookie, origin);
56 // Perform Netscape Cookie draft specific validation
58 String domain = cookie.getDomain();
66 + "\" violates the Netscape cookie specification for "
73 + "\" violates the Netscape cookie specification");
81 * top level domains defined by the Netscape cookie specification.
97 public boolean match(Cookie cookie, CookieOrigin origin) {
98 if (cookie == null) {
99 throw new IllegalArgumentException("Cookie may not be null");
102 throw new IllegalArgumentException("Cookie origin may not be null");
105 String domain = cookie.getDomain();