當前位置: 首頁>>代碼示例>>Java>>正文


Java CefCookie類代碼示例

本文整理匯總了Java中org.cef.network.CefCookie的典型用法代碼示例。如果您正苦於以下問題:Java CefCookie類的具體用法?Java CefCookie怎麽用?Java CefCookie使用的例子?那麽, 這裏精選的類代碼示例或許可以為您提供幫助。


CefCookie類屬於org.cef.network包,在下文中一共展示了CefCookie類的9個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的Java代碼示例。

示例1: visit

import org.cef.network.CefCookie; //導入依賴的package包/類
@Override
public boolean visit(CefCookie cookie, int count, int total, BoolRef delete) {
  Object[] entry = {
      cookie.name,
      cookie.value,
      cookie.domain,
      cookie.path,
      new Boolean(cookie.secure),
      new Boolean(cookie.httponly),
      cookie.creation,
      cookie.lastAccess,
      cookie.expires
  };
  int row = rowData.size();
  rowData.addElement(entry);
  fireTableRowsInserted(row, row);

  return true;
}
 
開發者ID:viglucci,項目名稱:app-jcef-example,代碼行數:20,代碼來源:CookieManagerDialog.java

示例2: canGetCookie

import org.cef.network.CefCookie; //導入依賴的package包/類
@Override
public boolean canGetCookie(CefCookie cookie) {
    return true;
}
 
開發者ID:Panda-Programming-Language,項目名稱:Pandomium,代碼行數:5,代碼來源:CefResourceHandlerAdapter.java

示例3: canSetCookie

import org.cef.network.CefCookie; //導入依賴的package包/類
@Override
public boolean canSetCookie(CefCookie cookie) {
    return true;
}
 
開發者ID:Panda-Programming-Language,項目名稱:Pandomium,代碼行數:5,代碼來源:CefResourceHandlerAdapter.java

示例4: canGetCookie

import org.cef.network.CefCookie; //導入依賴的package包/類
@Override
public boolean canGetCookie(CefCookie cookie) {
  return true;
}
 
開發者ID:viglucci,項目名稱:app-jcef-example,代碼行數:5,代碼來源:CefResourceHandlerAdapter.java

示例5: canSetCookie

import org.cef.network.CefCookie; //導入依賴的package包/類
@Override
public boolean canSetCookie(CefCookie cookie) {
  return true;
}
 
開發者ID:viglucci,項目名稱:app-jcef-example,代碼行數:5,代碼來源:CefResourceHandlerAdapter.java

示例6: canGetCookie

import org.cef.network.CefCookie; //導入依賴的package包/類
/**
 * Return true if the specified cookie can be sent with the request or false
 * otherwise. If false is returned for any cookie then no cookies will be sent
 * with the request.
 */
boolean canGetCookie(CefCookie cookie);
 
開發者ID:Panda-Programming-Language,項目名稱:Pandomium,代碼行數:7,代碼來源:CefResourceHandler.java

示例7: canSetCookie

import org.cef.network.CefCookie; //導入依賴的package包/類
/**
 * Return true if the specified cookie returned with the response can be set
 * or false otherwise.
 */
boolean canSetCookie(CefCookie cookie);
 
開發者ID:Panda-Programming-Language,項目名稱:Pandomium,代碼行數:6,代碼來源:CefResourceHandler.java

示例8: visit

import org.cef.network.CefCookie; //導入依賴的package包/類
/**
 * Method that will be called once for each cookie. |count| is the 0-based
 * index for the current cookie. |total| is the total number of cookies.
 * Set |deleteCookie| to true to delete the cookie currently being visited.
 * Return false to stop visiting cookies. This method may never be called if
 * no cookies are found.
 */
public abstract boolean visit(CefCookie cookie, int count, int total, BoolRef delete);
 
開發者ID:Panda-Programming-Language,項目名稱:Pandomium,代碼行數:9,代碼來源:CefCookieVisitor.java

示例9: visit

import org.cef.network.CefCookie; //導入依賴的package包/類
/**
 * Method that will be called once for each cookie. |count| is the 0-based
 * index for the current cookie. |total| is the total number of cookies.
 * Set |deleteCookie| to true to delete the cookie currently being visited.
 * Return false to stop visiting cookies. This method may never be called if
 * no cookies are found.
 */
public abstract boolean visit(CefCookie cookie,
                              int count,
                              int total,
                              BoolRef delete);
 
開發者ID:viglucci,項目名稱:app-jcef-example,代碼行數:12,代碼來源:CefCookieVisitor.java


注:本文中的org.cef.network.CefCookie類示例由純淨天空整理自Github/MSDocs等開源代碼及文檔管理平台,相關代碼片段篩選自各路編程大神貢獻的開源項目,源碼版權歸原作者所有,傳播和使用請參考對應項目的License;未經允許,請勿轉載。