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