public abstract class CefCookieManager
extends java.lang.Object
限定符和类型 | 方法和说明 |
---|---|
static CefCookieManager |
createManager(java.lang.String path, boolean persistSessionCookies)
Creates a new cookie manager.
创建一个新的cookie管理器。 |
abstract boolean |
deleteCookies(java.lang.String url, java.lang.String cookieName)
Delete all cookies that match the specified parameters.
删除所有与指定参数匹配的cookie。 |
abstract boolean |
flushStore(CefCompletionCallback handler)
Flush the backing store (if any) to disk and execute the specified |handler| on the IO thread when done.
将后备存储(如果有)刷新到磁盘并执行指定的| handler |完成后在IO线程上。 |
static CefCookieManager |
getGlobalManager()
Returns the global cookie manager.
返回全局cookie管理器。 |
abstract boolean |
setCookie(java.lang.String url, CefCookie cookie)
Sets a cookie given a valid URL and explicit user-provided cookie attributes.
在给定有效URL和显式用户提供的cookie属性的情况下设置cookie。 |
abstract boolean |
setStoragePath(java.lang.String path, boolean persistSessionCookies)
Sets the directory path that will be used for storing cookie data.
设置将用于存储cookie数据的目录路径。 |
abstract void |
setSupportedSchemes(java.util.Vector<java.lang.String> schemes)
Set the schemes supported by this manager.
设置此经理支持的方案。 |
abstract boolean |
visitAllCookies(CefCookieVisitor visitor)
Visit all cookies.
访问所有cookie。 |
abstract boolean |
visitUrlCookies(java.lang.String url, boolean includeHttpOnly, CefCookieVisitor visitor)
Visit a subset of cookies.
访问一部分Cookie。 |
public static final CefCookieManager createManager(java.lang.String path, boolean persistSessionCookies)
public abstract boolean deleteCookies(java.lang.String url, java.lang.String cookieName)
public abstract boolean flushStore(CefCompletionCallback handler)
public static final CefCookieManager getGlobalManager()
public abstract boolean setCookie(java.lang.String url, CefCookie cookie)
public abstract boolean setStoragePath(java.lang.String path, boolean persistSessionCookies)
public abstract void setSupportedSchemes(java.util.Vector<java.lang.String> schemes)
public abstract boolean visitAllCookies(CefCookieVisitor visitor)
public abstract boolean visitUrlCookies(java.lang.String url, boolean includeHttpOnly, CefCookieVisitor visitor)