Lines Matching refs:cookies
39 static Map<String,String> cookies;
60 if (x.equals("Cookie: "+((String)cookies.get("Cookie")))) {
75 out.print("Set-Cookie2: "+((String)cookies.get("Set-Cookie2")+"\r\n"));
110 cookies = new HashMap<String, String>();
111 cookies.put("Cookie", "$Version=\"1\"; Customer=\"WILE_E_COYOTE\"; $Path=\"/acme\"");
112 cookies.put("Set-Cookie2", "$Version=\"1\"; Part_Number=\"Riding_Rocket_0023\"; $Path=\"/acme/ammo\"; Part_Number=\"Rocket_Launcher_0001\"; $Path=\"/acme\"");
121 // returns cookies[0]
125 l.add(cookies.get("Cookie"));
133 // check response has cookies[1]
136 if (!value.equals(cookies.get("Set-Cookie2"))) {