|
|||||||||
| 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.
| Field Summary | |
|---|---|
protected java.util.Set<GoogleGDataRequest.GoogleCookie> |
cookies
Storage for a set of cookies. |
protected boolean |
cookiesEnabled
Indicates whether cookie handling is enabled. |
| 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 |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected java.util.Set<GoogleGDataRequest.GoogleCookie> cookies
protected boolean cookiesEnabled
| Constructor Detail |
|---|
public SimpleCookieManager()
| Method Detail |
|---|
public void setCookiesEnabled(boolean cookiesEnabled)
CookieManager
setCookiesEnabled in interface CookieManagerpublic boolean cookiesEnabled()
CookieManagertrue if the GoogleService is handling cookies.
cookiesEnabled in interface CookieManagerpublic void clearCookies()
CookieManager
clearCookies in interface CookieManagerpublic void addCookie(GoogleGDataRequest.GoogleCookie cookie)
CookieManager
addCookie in interface CookieManagerpublic 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 | ||||||||