Lines Matching refs:HttpCookie
26 * @summary Unit test for java.net.HttpCookie
31 import java.net.HttpCookie;
38 private List<HttpCookie> cookies = null;
41 // the header string to be parsed into HttpCookie instance.
42 // A TestHttpCookie instance will be created to hold such a HttpCookie
44 // between HttpCookie's real property and expected property.
54 List<HttpCookie> cookies = HttpCookie.parse(cHeader);
63 HttpCookie cookie = cookies.get(index);
74 HttpCookie cookie = cookies.get(index);
85 HttpCookie cookie = cookies.get(index);
96 HttpCookie cookie = cookies.get(index);
116 HttpCookie cookie = cookies.get(index);
127 HttpCookie cookie = cookies.get(index);
138 HttpCookie cookie = cookies.get(index);
149 HttpCookie cookie = cookies.get(index);
160 HttpCookie cookie = cookies.get(index);
171 HttpCookie cookie = cookies.get(index);
182 HttpCookie cookie = cookies.get(index);
194 static void eq(HttpCookie ck1, HttpCookie ck2, boolean same) {
212 if (HttpCookie.domainMatches(domain, host) != matches) {
346 HttpCookie c1 = new HttpCookie("Customer", "WILE_E_COYOTE");
349 HttpCookie c2 = (HttpCookie)c1.clone();
353 c1 = new HttpCookie("Customer", "WILE_E_COYOTE");
354 c2 = new HttpCookie("CUSTOMER", "WILE_E_COYOTE");
358 c1 = new HttpCookie("Customer", "WILE_E_COYOTE");
359 c2 = new HttpCookie("CUSTOMER", "WILE_E_COYOTE");
375 c1 = new HttpCookie("", "whatever");