|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.google.gdata.client.SimpleCookieManager
public class SimpleCookieManager
A simple cookie manager implementation.
Constructor Summary | |
---|---|
SimpleCookieManager()
|
Method Summary | |
---|---|
void |
addCookie(GoogleGDataRequest.GoogleCookie cookie)
Adds a new GoogleCookie instance to the cache. |
void |
clearCookies()
Clears all cookies. |
boolean |
cookiesEnabled()
Returns true if the GoogleService is handling cookies. |
java.util.Set<GoogleGDataRequest.GoogleCookie> |
getCookies()
Returns the set of associated cookies returned by previous requests. |
void |
setCookiesEnabled(boolean cookiesEnabled)
Enables or disables cookie handling. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SimpleCookieManager()
Method Detail |
---|
public void setCookiesEnabled(boolean cookiesEnabled)
CookieManager
setCookiesEnabled
in interface CookieManager
public boolean cookiesEnabled()
CookieManager
true
if the GoogleService is handling cookies.
cookiesEnabled
in interface CookieManager
public void clearCookies()
CookieManager
clearCookies
in interface CookieManager
public void addCookie(GoogleGDataRequest.GoogleCookie cookie)
CookieManager
addCookie
in interface CookieManager
public java.util.Set<GoogleGDataRequest.GoogleCookie> getCookies()
CookieManager
getCookies
in interface CookieManager
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |