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


Java CefURLRequestClient類代碼示例

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


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

示例1: createNative

import org.cef.callback.CefURLRequestClient; //導入依賴的package包/類
public static final CefURLRequest createNative(CefRequest request, CefURLRequestClient client) {
    // keep a reference to the request and client objects.
    CefURLRequest_N result = new CefURLRequest_N(request, client);
    try {
        result.N_CefURLRequest_CTOR(request, client);
    } catch (UnsatisfiedLinkError ule) {
        ule.printStackTrace();
    }
    if (result.N_CefHandle == 0) {
        return null;
    }
    return result;
}
 
開發者ID:Panda-Programming-Language,項目名稱:Pandomium,代碼行數:14,代碼來源:CefURLRequest_N.java

示例2: createNative

import org.cef.callback.CefURLRequestClient; //導入依賴的package包/類
public static final CefURLRequest createNative(CefRequest request,
                                               CefURLRequestClient client) {
  // keep a reference to the request and client objects.
  CefURLRequest_N result = new CefURLRequest_N(request, client);
  try {
    result.N_CefURLRequest_CTOR(request, client);
  } catch (UnsatisfiedLinkError ule) {
    ule.printStackTrace();
  }
  if (result.N_CefHandle == 0)
    return null;
  return result;
}
 
開發者ID:viglucci,項目名稱:app-jcef-example,代碼行數:14,代碼來源:CefURLRequest_N.java

示例3: CefURLRequest_N

import org.cef.callback.CefURLRequestClient; //導入依賴的package包/類
CefURLRequest_N(CefRequest request, CefURLRequestClient client) {
    super();
    request_ = request;
    client_ = client;
}
 
開發者ID:Panda-Programming-Language,項目名稱:Pandomium,代碼行數:6,代碼來源:CefURLRequest_N.java

示例4: getClient

import org.cef.callback.CefURLRequestClient; //導入依賴的package包/類
@Override
public CefURLRequestClient getClient() {
    return client_;
}
 
開發者ID:Panda-Programming-Language,項目名稱:Pandomium,代碼行數:5,代碼來源:CefURLRequest_N.java

示例5: CefURLRequest_N

import org.cef.callback.CefURLRequestClient; //導入依賴的package包/類
CefURLRequest_N(CefRequest request,
                CefURLRequestClient client) {
  super();
  request_ = request;
  client_ = client;
}
 
開發者ID:viglucci,項目名稱:app-jcef-example,代碼行數:7,代碼來源:CefURLRequest_N.java

示例6: getClient

import org.cef.callback.CefURLRequestClient; //導入依賴的package包/類
@Override
public CefURLRequestClient getClient() {
  return client_;
}
 
開發者ID:viglucci,項目名稱:app-jcef-example,代碼行數:5,代碼來源:CefURLRequest_N.java

示例7: create

import org.cef.callback.CefURLRequestClient; //導入依賴的package包/類
/**
 * Create a new URL request. Only GET, POST, HEAD, DELETE and PUT request
 * methods are supported. Multiple post data elements are not supported and
 * elements of type PDE_TYPE_FILE are only supported for requests originating
 * from the browser process. Requests originating from the render process will
 * receive the same handling as requests originating from Web content -- if
 * the response contains Content-Disposition or Mime-Type header values that
 * would not normally be rendered then the response may receive special
 * handling inside the browser (for example, via the file download code path
 * instead of the URL request code path). The |request| object will be marked
 * as read-only after calling this method.
 */
public static final CefURLRequest create(CefRequest request, CefURLRequestClient client) {
    return CefURLRequest_N.createNative(request, client);
}
 
開發者ID:Panda-Programming-Language,項目名稱:Pandomium,代碼行數:16,代碼來源:CefURLRequest.java

示例8: getClient

import org.cef.callback.CefURLRequestClient; //導入依賴的package包/類
/**
 * Returns the client.
 */
public abstract CefURLRequestClient getClient();
 
開發者ID:Panda-Programming-Language,項目名稱:Pandomium,代碼行數:5,代碼來源:CefURLRequest.java

示例9: create

import org.cef.callback.CefURLRequestClient; //導入依賴的package包/類
/**
 * Create a new URL request. Only GET, POST, HEAD, DELETE and PUT request
 * methods are supported. Multiple post data elements are not supported and
 * elements of type PDE_TYPE_FILE are only supported for requests originating
 * from the browser process. Requests originating from the render process will
 * receive the same handling as requests originating from Web content -- if
 * the response contains Content-Disposition or Mime-Type header values that
 * would not normally be rendered then the response may receive special
 * handling inside the browser (for example, via the file download code path
 * instead of the URL request code path). The |request| object will be marked
 * as read-only after calling this method.
 */
public static final CefURLRequest create(CefRequest request,
                                         CefURLRequestClient client) {
  return CefURLRequest_N.createNative(request, client);
}
 
開發者ID:viglucci,項目名稱:app-jcef-example,代碼行數:17,代碼來源:CefURLRequest.java

示例10: N_CefURLRequest_CTOR

import org.cef.callback.CefURLRequestClient; //導入依賴的package包/類
private final native void N_CefURLRequest_CTOR(CefRequest request, CefURLRequestClient client); 
開發者ID:Panda-Programming-Language,項目名稱:Pandomium,代碼行數:2,代碼來源:CefURLRequest_N.java


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