multivalent.net
public class Cookies extends Behavior
For example:
Set-cookie: RMID=3fc51f1b38b7eeb0; expires=Fri, 31-Dec-2010 23:59:59 GMT; path=/; domain=.nytimes.com
LATER: periodically save cookies, take cookie policy (none, all, ask, only from same host) from preferences.
Version: $Revision: 1.3 $ $Date: 2003/06/02 05:22:24 $
Method Summary | |
---|---|
void | destroy() |
String | getAll(String domain, String path)
Return all cookies matching domain and path.
|
void | put(String host, String namevals) Updates existing or adds new cookie to database. |
boolean | semanticEventAfter(SemanticEvent se, String msg) At semantic openedDocument, extract cookies. |
boolean | semanticEventBefore(SemanticEvent se, String msg) At semantic openDocument, add stored cookies to headers. |
void | write() |