本文整理汇总了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);