Home | History | Annotate | Download | only in cookie

Lines Matching refs: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;
47 public void validate(final Cookie cookie, final CookieOrigin origin)
49 super.validate(cookie, origin);
50 // Perform Netscape Cookie draft specific validation
52 String domain = cookie.getDomain();
60 + "\" violates the Netscape cookie specification for "
67 + "\" violates the Netscape cookie specification");
75 * top level domains defined by the Netscape cookie specification.
91 public boolean match(Cookie cookie, CookieOrigin origin) {
92 if (cookie == null) {
93 throw new IllegalArgumentException("Cookie may not be null");
96 throw new IllegalArgumentException("Cookie origin may not be null");
99 String domain = cookie.getDomain();