本文整理匯總了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;
}
示例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;
}
示例3: CefURLRequest_N
import org.cef.callback.CefURLRequestClient; //導入依賴的package包/類
CefURLRequest_N(CefRequest request, CefURLRequestClient client) {
super();
request_ = request;
client_ = client;
}
示例4: getClient
import org.cef.callback.CefURLRequestClient; //導入依賴的package包/類
@Override
public CefURLRequestClient getClient() {
return client_;
}
示例5: CefURLRequest_N
import org.cef.callback.CefURLRequestClient; //導入依賴的package包/類
CefURLRequest_N(CefRequest request,
CefURLRequestClient client) {
super();
request_ = request;
client_ = client;
}
示例6: getClient
import org.cef.callback.CefURLRequestClient; //導入依賴的package包/類
@Override
public CefURLRequestClient getClient() {
return client_;
}
示例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);
}
示例8: getClient
import org.cef.callback.CefURLRequestClient; //導入依賴的package包/類
/**
* Returns the client.
*/
public abstract CefURLRequestClient getClient();
示例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);
}
示例10: N_CefURLRequest_CTOR
import org.cef.callback.CefURLRequestClient; //導入依賴的package包/類
private final native void N_CefURLRequest_CTOR(CefRequest request, CefURLRequestClient client);