|
JCas v0.3.1 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object cas.CookieManager
Manages different sets of cookies.
Field Summary | |
protected Map |
cookieFiles
The cookie files loaded |
protected Set |
updatedFiles
The files to save |
Constructor Summary | |
CookieManager()
Creates a new instance of CookieManager |
Method Summary | |
boolean |
checkCookie(File cookieFile,
JCasRequest request,
String hostIP)
Returns true if the cookie is valid. |
protected String |
createCookie(Properties cookies)
Creates a new cookie. |
protected Properties |
getCookieFile(File f)
Returns the cookie file. |
protected void |
saveCookieFile(File f)
Saves the cookie file. |
protected void |
saveCookies()
Saves all cookies. |
String |
updateCookie(File cookieFile,
JCasRequest request,
String hostIP,
int timeout)
Creates or updates the cookie. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected Map cookieFiles
protected Set updatedFiles
Constructor Detail |
public CookieManager()
Method Detail |
public boolean checkCookie(File cookieFile, JCasRequest request, String hostIP)
public String updateCookie(File cookieFile, JCasRequest request, String hostIP, int timeout)
protected String createCookie(Properties cookies)
protected Properties getCookieFile(File f)
protected void saveCookieFile(File f)
protected void saveCookies()
|
JCas v0.3.1 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |