public abstract class CefCookieManager extends Object
| 限定符和类型 | 方法和说明 |
|---|---|
static CefCookieManager |
createManager(String path,
boolean persistSessionCookies)
Creates a new cookie manager.
|
abstract boolean |
deleteCookies(String url,
String cookieName)
Delete all cookies that match the specified parameters.
|
abstract boolean |
flushStore(CefCompletionCallback handler)
Flush the backing store (if any) to disk and execute the specified
|handler| on the IO thread when done.
|
static CefCookieManager |
getGlobalManager()
Returns the global cookie manager.
|
abstract boolean |
setCookie(String url,
CefCookie cookie)
Sets a cookie given a valid URL and explicit user-provided cookie
attributes.
|
abstract boolean |
setStoragePath(String path,
boolean persistSessionCookies)
Sets the directory path that will be used for storing cookie data.
|
abstract void |
setSupportedSchemes(Vector<String> schemes)
Set the schemes supported by this manager.
|
abstract boolean |
visitAllCookies(CefCookieVisitor visitor)
Visit all cookies.
|
abstract boolean |
visitUrlCookies(String url,
boolean includeHttpOnly,
CefCookieVisitor visitor)
Visit a subset of cookies.
|
public static final CefCookieManager getGlobalManager()
public static final CefCookieManager createManager(String path, boolean persistSessionCookies)
public abstract void setSupportedSchemes(Vector<String> schemes)
public abstract boolean visitAllCookies(CefCookieVisitor visitor)
public abstract boolean visitUrlCookies(String url, boolean includeHttpOnly, CefCookieVisitor visitor)
public abstract boolean setCookie(String url, CefCookie cookie)
public abstract boolean deleteCookies(String url, String cookieName)
public abstract boolean setStoragePath(String path, boolean persistSessionCookies)
public abstract boolean flushStore(CefCompletionCallback handler)
Copyright © 2017. All rights reserved.