public class RoboCookieManager extends CookieManager
CookieManager
.
Basic implementation which does not fully implement RFC2109.Constructor | Description |
---|---|
RoboCookieManager() |
Modifier and Type | Method | Description |
---|---|---|
boolean |
acceptCookie() |
|
boolean |
acceptThirdPartyCookies(WebView webView) |
|
protected boolean |
allowFileSchemeCookiesImpl() |
|
void |
flush() |
|
String |
getCookie(String url) |
|
String |
getCookie(String s,
boolean b) |
|
boolean |
hasCookies() |
|
boolean |
hasCookies(boolean b) |
|
void |
removeAllCookie() |
|
void |
removeAllCookies(ValueCallback<Boolean> valueCallback) |
|
void |
removeExpiredCookie() |
|
void |
removeSessionCookie() |
|
void |
removeSessionCookies(ValueCallback<Boolean> valueCallback) |
|
void |
setAcceptCookie(boolean accept) |
|
protected void |
setAcceptFileSchemeCookiesImpl(boolean b) |
|
void |
setAcceptThirdPartyCookies(WebView webView,
boolean b) |
|
void |
setCookie(String url,
String value) |
|
void |
setCookie(String url,
String value,
ValueCallback<Boolean> valueCallback) |
allowFileSchemeCookies, clone, getCookie, getInstance, setAcceptFileSchemeCookies
public void setCookie(String url, String value)
setCookie
in class CookieManager
public void setCookie(String url, String value, ValueCallback<Boolean> valueCallback)
setCookie
in class CookieManager
public void setAcceptThirdPartyCookies(WebView webView, boolean b)
setAcceptThirdPartyCookies
in class CookieManager
public boolean acceptThirdPartyCookies(WebView webView)
acceptThirdPartyCookies
in class CookieManager
public void removeAllCookies(ValueCallback<Boolean> valueCallback)
removeAllCookies
in class CookieManager
public void flush()
flush
in class CookieManager
public void removeSessionCookies(ValueCallback<Boolean> valueCallback)
removeSessionCookies
in class CookieManager
public String getCookie(String url)
getCookie
in class CookieManager
public String getCookie(String s, boolean b)
getCookie
in class CookieManager
public void setAcceptCookie(boolean accept)
setAcceptCookie
in class CookieManager
public boolean acceptCookie()
acceptCookie
in class CookieManager
public void removeAllCookie()
removeAllCookie
in class CookieManager
public void removeExpiredCookie()
removeExpiredCookie
in class CookieManager
public boolean hasCookies()
hasCookies
in class CookieManager
public boolean hasCookies(boolean b)
hasCookies
in class CookieManager
public void removeSessionCookie()
removeSessionCookie
in class CookieManager
protected boolean allowFileSchemeCookiesImpl()
allowFileSchemeCookiesImpl
in class CookieManager
protected void setAcceptFileSchemeCookiesImpl(boolean b)
setAcceptFileSchemeCookiesImpl
in class CookieManager