public class SFCookieManager
extends java.lang.Object
| Modifier and Type | Class and Description |
|---|---|
static class |
SFCookieManager.Cookie |
| Constructor and Description |
|---|
SFCookieManager() |
| Modifier and Type | Method and Description |
|---|---|
void |
clearAllCookies() |
void |
removeCookies(java.lang.String urlstr)
removes all cookies for the domain in the given URI
|
void |
removeCookies(java.net.URI uri)
removes all cookies for the domain in the given URI
|
void |
storeAppSpecificCookies(java.lang.String urlstr,
java.lang.String cookieString)
Allows the app to store cookies inside the cookie store so that it will automatically be set for connections to the
specified domain
|
void |
storeAppSpecificCookies(java.net.URI uri,
java.lang.String cookieString)
Allows the app to store cookies inside the cookie store so that it will automatically be set for connections to the
specified domain
|
java.lang.String |
toString()
Returns a string representation of stored cookies organized by domain.
|
public void clearAllCookies()
public void storeAppSpecificCookies(java.net.URI uri,
java.lang.String cookieString)
public void storeAppSpecificCookies(java.lang.String urlstr,
java.lang.String cookieString)
public java.lang.String toString()
toString in class java.lang.Objectpublic void removeCookies(java.net.URI uri)
public void removeCookies(java.lang.String urlstr)