@@ -0,0 +1,359 @@
+package detective.utils;%0A%0Aimport org.apache.http.client.CookieStore;%0Aimport org.apache.http.cookie.Cookie;%0A%0Apublic class CookieUtil %7B%0A%09public static String getCookieValue(String name, CookieStore store) %7B%0A%09%09for (Cookie cookie : store.getCookies()) %7B%0A%09%09%09if (cookie.getName().equalsIgnoreCase(name)) %7B%0A%09%09%09%09return cookie.getValue();%0A%09%09%09%7D%0A%09%09%7D%0A%09%09return null;%0A%09%7D%0A%7D%0A

add cookie util