本文整理汇总了Java中com.tencent.smtt.export.external.interfaces.ClientCertRequest类的典型用法代码示例。如果您正苦于以下问题:Java ClientCertRequest类的具体用法?Java ClientCertRequest怎么用?Java ClientCertRequest使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
ClientCertRequest类属于com.tencent.smtt.export.external.interfaces包,在下文中一共展示了ClientCertRequest类的9个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的Java代码示例。
示例1: onReceivedClientCertRequest
import com.tencent.smtt.export.external.interfaces.ClientCertRequest; //导入依赖的package包/类
/**
* On received client cert request.
* The method forwards the request to any running plugins before using the default implementation.
*
* @param view
* @param request
*/
@Override
@TargetApi(21)
public void onReceivedClientCertRequest (WebView view, ClientCertRequest request)
{
// Check if there is some plugin which can resolve this certificate request
PluginManager pluginManager = this.parentEngine.pluginManager;
if (pluginManager != null && pluginManager.onReceivedClientCertRequest(null, new X5CordovaClientCertRequest(request))) {
parentEngine.client.clearLoadTimeoutTimer();
return;
}
// By default pass to WebViewClient
super.onReceivedClientCertRequest(view, request);
}
开发者ID:jeremyup,项目名称:cordova-plugin-x5-webview,代码行数:23,代码来源:X5WebViewClient.java
示例2: onReceivedClientCertRequest
import com.tencent.smtt.export.external.interfaces.ClientCertRequest; //导入依赖的package包/类
public void onReceivedClientCertRequest(WebView view, ClientCertRequest request) {
if(mWebViewClient!=null){
mWebViewClient.onReceivedClientCertRequest(view,request);
return;
}
super.onReceivedClientCertRequest(view,request);
}
开发者ID:Justson,项目名称:AgentWebX5,代码行数:8,代码来源:WrapperWebViewClient.java
示例3: onReceivedClientCertRequest
import com.tencent.smtt.export.external.interfaces.ClientCertRequest; //导入依赖的package包/类
/**
* On received client cert request.
* The method forwards the request to any running plugins before using the default implementation.
*
* @param view
* @param request
*/
@TargetApi(21)
public void onReceivedClientCertRequest (WebView view, ClientCertRequest request)
{
// Check if there is some plugin which can resolve this certificate request
PluginManager pluginManager = this.parentEngine.pluginManager;
if (pluginManager != null && pluginManager.onReceivedClientCertRequest(null, new X5CordovaClientCertRequest(request))) {
parentEngine.client.clearLoadTimeoutTimer();
return;
}
// By default pass to WebViewClient
super.onReceivedClientCertRequest(view, request);
}
开发者ID:runner525,项目名称:x5webview-cordova-plugin,代码行数:22,代码来源:X5WebViewClient.java
示例4: onReceivedClientCertRequest
import com.tencent.smtt.export.external.interfaces.ClientCertRequest; //导入依赖的package包/类
/**
* On received client cert request.
* The method forwards the request to any running plugins before using the default implementation.
*
* @param view
* @param request
*/
@TargetApi(21)
public void onReceivedClientCertRequest(WebView view, ClientCertRequest request) {
// Check if there is some plugin which can resolve this certificate request
PluginManager pluginManager = this.parentEngine.pluginManager;
if (pluginManager != null && pluginManager.onReceivedClientCertRequest(null, new X5CordovaClientCertRequest(request))) {
parentEngine.client.clearLoadTimeoutTimer();
return;
}
// By default pass to WebViewClient
super.onReceivedClientCertRequest(view, request);
}
开发者ID:zsxsoft,项目名称:cordova-plugin-x5-tbs,代码行数:21,代码来源:X5WebViewClient.java
示例5: onReceivedClientCertRequest
import com.tencent.smtt.export.external.interfaces.ClientCertRequest; //导入依赖的package包/类
@Override
public void onReceivedClientCertRequest(WebView webView, ClientCertRequest clientCertRequest) {
boolean interrupt = false;
if (bridgeWebViewClientListener != null) {
interrupt = bridgeWebViewClientListener.onReceivedClientCertRequest(webView, clientCertRequest);
}
if (!interrupt) {
super.onReceivedClientCertRequest(webView, clientCertRequest);
}
}
开发者ID:hjhrq1991,项目名称:JsBridge,代码行数:11,代码来源:BridgeWebViewClient.java
示例6: X5CordovaClientCertRequest
import com.tencent.smtt.export.external.interfaces.ClientCertRequest; //导入依赖的package包/类
public X5CordovaClientCertRequest(ClientCertRequest request) {
this.request = request;
}
开发者ID:runner525,项目名称:x5webview-cordova-plugin,代码行数:4,代码来源:X5CordovaClientCertRequest.java
示例7: X5CordovaClientCertRequest
import com.tencent.smtt.export.external.interfaces.ClientCertRequest; //导入依赖的package包/类
public X5CordovaClientCertRequest(ClientCertRequest request) {
this.request = request;
}
开发者ID:zsxsoft,项目名称:cordova-plugin-x5-tbs,代码行数:4,代码来源:X5CordovaClientCertRequest.java
示例8: onReceivedClientCertRequest
import com.tencent.smtt.export.external.interfaces.ClientCertRequest; //导入依赖的package包/类
@Override
public boolean onReceivedClientCertRequest(WebView webView, ClientCertRequest clientCertRequest) {
return false;
}
开发者ID:hjhrq1991,项目名称:JsBridge,代码行数:5,代码来源:SimpleBridgeWebViewClientListener.java
示例9: onReceivedClientCertRequest
import com.tencent.smtt.export.external.interfaces.ClientCertRequest; //导入依赖的package包/类
boolean onReceivedClientCertRequest(WebView webView, ClientCertRequest clientCertRequest);
开发者ID:hjhrq1991,项目名称:JsBridge,代码行数:2,代码来源:BridgeWebViewClientListener.java
注:本文中的com.tencent.smtt.export.external.interfaces.ClientCertRequest类示例整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。 |
请发表评论