当前位置: 首页>>代码示例>>Java>>正文


Java CefAuthCallback类代码示例

本文整理汇总了Java中org.cef.callback.CefAuthCallback的典型用法代码示例。如果您正苦于以下问题:Java CefAuthCallback类的具体用法?Java CefAuthCallback怎么用?Java CefAuthCallback使用的例子?那么, 这里精选的类代码示例或许可以为您提供帮助。


CefAuthCallback类属于org.cef.callback包,在下文中一共展示了CefAuthCallback类的8个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。

示例1: getAuthCredentials

import org.cef.callback.CefAuthCallback; //导入依赖的package包/类
@Override
public boolean getAuthCredentials(CefBrowser browser,
                                  boolean isProxy,
                                  String host,
                                  int port,
                                  String realm,
                                  String scheme,
                                  CefAuthCallback callback) {
  return false;
}
 
开发者ID:apicloudcom,项目名称:APICloud-Studio,代码行数:11,代码来源:CefRequestHandlerAdapter.java

示例2: getAuthCredentials

import org.cef.callback.CefAuthCallback; //导入依赖的package包/类
@Override
public boolean getAuthCredentials(CefBrowser browser,
                                  boolean isProxy,
                                  String host,
                                  int port,
                                  String realm,
                                  String scheme,
                                  CefAuthCallback callback) {
  SwingUtilities.invokeLater(new PasswordDialog(owner_, callback));
  return true;
}
 
开发者ID:viglucci,项目名称:app-jcef-example,代码行数:12,代码来源:RequestHandler.java

示例3: getAuthCredentials

import org.cef.callback.CefAuthCallback; //导入依赖的package包/类
@Override
public boolean getAuthCredentials(CefBrowser browser,
                                  boolean isProxy,
                                  String host,
                                  int port,
                                  String realm,
                                  String scheme,
                                  CefAuthCallback callback) {
  if (requestHandler_ != null && browser != null)
    return requestHandler_.getAuthCredentials(browser, isProxy, host, port, realm, scheme, callback);
  return false;
}
 
开发者ID:viglucci,项目名称:app-jcef-example,代码行数:13,代码来源:CefClient.java

示例4: getAuthCredentials

import org.cef.callback.CefAuthCallback; //导入依赖的package包/类
@Override
public boolean getAuthCredentials(CefBrowser browser, 
                                         boolean isProxy,
		                  String host, 
                                         int port, 
                                         String realm, 
                                         String scheme,
		                  CefAuthCallback callback) {
   if (requestHandler_ != null && browser != null)
     return requestHandler_.getAuthCredentials(browser, isProxy, host, port, realm, scheme, callback);
	return false;
}
 
开发者ID:apicloudcom,项目名称:APICloud-Studio,代码行数:13,代码来源:CefClient.java

示例5: getAuthCredentials

import org.cef.callback.CefAuthCallback; //导入依赖的package包/类
@Override
public boolean getAuthCredentials(CefBrowser browser, boolean isProxy, String host, int port, String realm, String scheme, CefAuthCallback callback) {
    return false;
}
 
开发者ID:Panda-Programming-Language,项目名称:Pandomium,代码行数:5,代码来源:CefRequestHandlerAdapter.java

示例6: getAuthCredentials

import org.cef.callback.CefAuthCallback; //导入依赖的package包/类
@Override
public boolean getAuthCredentials(boolean isProxy, String host, int port,
    String realm, String scheme, CefAuthCallback callback) {
  SwingUtilities.invokeLater(new PasswordDialog(owner_, callback));
  return true;
}
 
开发者ID:viglucci,项目名称:app-jcef-example,代码行数:7,代码来源:UrlRequestDialogReply.java

示例7: getAuthCredentials

import org.cef.callback.CefAuthCallback; //导入依赖的package包/类
/**
 * Called on the IO thread when the browser needs credentials from the user.
 * Return true to continue the request and call CefAuthCallback::Continue()
 * when the authentication information is available.
 * Return false to cancel the request.
 * 
 * @param browser The corresponding browser.
 * @param isProxy indicates whether the host is a proxy server.
 * @param host contains the hostname.
 * @param port contains the port number.
 * @param realm The realm of the request.
 * @param scheme The scheme of the request.
 * @param callback call CefAuthCallback::Continue() when the authentication
 *   information is available.
 * @return true to continue the request or false to cancel.
 */
boolean getAuthCredentials(CefBrowser browser,
                           boolean isProxy,
                           String host,
                           int port,
                           String realm,
                           String scheme,
                           CefAuthCallback callback);
 
开发者ID:viglucci,项目名称:app-jcef-example,代码行数:24,代码来源:CefRequestHandler.java

示例8: getAuthCredentials

import org.cef.callback.CefAuthCallback; //导入依赖的package包/类
/**
 * Called on the IO thread when the browser needs credentials from the user.
 * Return true to continue the request and call CefAuthCallback::Continue()
 * when the authentication information is available.
 * Return false to cancel the request.
 *
 * @param browser  The corresponding browser.
 * @param isProxy  indicates whether the host is a proxy server.
 * @param host     contains the hostname.
 * @param port     contains the port number.
 * @param realm    The realm of the request.
 * @param scheme   The scheme of the request.
 * @param callback call CefAuthCallback::Continue() when the authentication
 *                 information is available.
 * @return true to continue the request or false to cancel.
 */
boolean getAuthCredentials(CefBrowser browser, boolean isProxy, String host, int port, String realm, String scheme, CefAuthCallback callback);
 
开发者ID:Panda-Programming-Language,项目名称:Pandomium,代码行数:18,代码来源:CefRequestHandler.java


注:本文中的org.cef.callback.CefAuthCallback类示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。