Package org.loboevolution.store
Class CookieStore
java.lang.Object
org.loboevolution.store.CookieStore
CookieStore class.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetCookies
(String hostName, String path) getCookies.static void
saveCookie
(String urlHostName, String cookieSpec) saveCookie.static void
saveCookie
(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
- aString
object.secure
- a boolean.httponly
- a boolean.
-
getCookies
getCookies.
-