| 程序包 | 说明 |
|---|---|
| org.cef | |
| org.cef.handler | |
| org.cef.network |
| 限定符和类型 | 方法和说明 |
|---|---|
boolean |
CefClient.onCertificateError(CefBrowser browser,
CefLoadHandler.ErrorCode cert_error,
String request_url,
CefRequestCallback callback) |
void |
CefClient.onLoadError(CefBrowser browser,
int frameIdentifer,
CefLoadHandler.ErrorCode errorCode,
String errorText,
String failedUrl) |
| 限定符和类型 | 方法和说明 |
|---|---|
static CefLoadHandler.ErrorCode |
CefLoadHandler.ErrorCode.valueOf(String name)
返回带有指定名称的该类型的枚举常量。
|
static CefLoadHandler.ErrorCode[] |
CefLoadHandler.ErrorCode.values()
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
|
| 限定符和类型 | 方法和说明 |
|---|---|
boolean |
CefRequestHandlerAdapter.onCertificateError(CefBrowser browser,
CefLoadHandler.ErrorCode cert_error,
String request_url,
CefRequestCallback callback) |
boolean |
CefRequestHandler.onCertificateError(CefBrowser browser,
CefLoadHandler.ErrorCode cert_error,
String request_url,
CefRequestCallback callback)
Called on the UI thread to handle requests for URLs with an invalid
SSL certificate.
|
void |
CefLoadHandlerAdapter.onLoadError(CefBrowser browser,
int frameIdentifer,
CefLoadHandler.ErrorCode errorCode,
String errorText,
String failedUrl) |
void |
CefLoadHandler.onLoadError(CefBrowser browser,
int frameIdentifer,
CefLoadHandler.ErrorCode errorCode,
String errorText,
String failedUrl)
Called when the resource load for a navigation fails or is canceled.
|
| 限定符和类型 | 方法和说明 |
|---|---|
abstract CefLoadHandler.ErrorCode |
CefURLRequest.getRequestError()
Returns the request error if status is UR_CANCELED or UR_FAILED, or 0
otherwise.
|
Copyright © 2017. All rights reserved.