Package org.loboevolution.store
Class CookieStore
java.lang.Object
org.loboevolution.store.CookieStore
CookieStore class.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetCookies(String hostName, String path) getCookies.static voidsaveCookie(String urlHostName, String cookieSpec) saveCookie.static voidsaveCookie(String domain, String path, String name, Date expires, String value, String maxAge, boolean secure, boolean httponly) Save cookie.
-
Constructor Details
-
CookieStore
public CookieStore()
-
-
Method Details
-
saveCookie
saveCookie.
-
saveCookie
public static void saveCookie(String domain, String path, String name, Date expires, String value, String maxAge, boolean secure, boolean httponly) Save cookie.- Parameters:
domain- the domainpath- the pathname- the nameexpires- the expiresvalue- the valuemaxAge- aStringobject.secure- a boolean.httponly- a boolean.
-
getCookies
getCookies.
-