public class PreferencesCookieStore extends Object implements org.apache.http.client.CookieStore
| Modifier and Type | Class and Description |
|---|---|
class |
PreferencesCookieStore.SerializableCookie |
| Constructor and Description |
|---|
PreferencesCookieStore(android.content.Context context)
Construct a persistent cookie store.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addCookie(org.apache.http.cookie.Cookie cookie) |
protected String |
byteArrayToHexString(byte[] b) |
void |
clear() |
boolean |
clearExpired(Date date) |
protected org.apache.http.cookie.Cookie |
decodeCookie(String cookieStr) |
protected String |
encodeCookie(PreferencesCookieStore.SerializableCookie cookie) |
List<org.apache.http.cookie.Cookie> |
getCookies() |
protected byte[] |
hexStringToByteArray(String s) |
public PreferencesCookieStore(android.content.Context context)
public void addCookie(org.apache.http.cookie.Cookie cookie)
addCookie in interface org.apache.http.client.CookieStorepublic void clear()
clear in interface org.apache.http.client.CookieStorepublic boolean clearExpired(Date date)
clearExpired in interface org.apache.http.client.CookieStorepublic List<org.apache.http.cookie.Cookie> getCookies()
getCookies in interface org.apache.http.client.CookieStoreprotected String encodeCookie(PreferencesCookieStore.SerializableCookie cookie)
protected org.apache.http.cookie.Cookie decodeCookie(String cookieStr)
protected String byteArrayToHexString(byte[] b)
protected byte[] hexStringToByteArray(String s)