public class SetCookieCache extends java.lang.Object implements CookieCache
| Constructor and Description |
|---|
SetCookieCache() |
| Modifier and Type | Method and Description |
|---|---|
void |
addAll(java.util.Collection<okhttp3.Cookie> newCookies)
Add all the new cookies to the session, existing cookies will be overwritten.
|
void |
clear()
Clear all the cookies from the session.
|
java.util.Iterator<okhttp3.Cookie> |
iterator() |
public void addAll(java.util.Collection<okhttp3.Cookie> newCookies)
CookieCacheaddAll in interface CookieCachepublic void clear()
CookieCacheclear in interface CookieCachepublic java.util.Iterator<okhttp3.Cookie> iterator()
iterator in interface java.lang.Iterable<okhttp3.Cookie>