public interface CefURLRequestClient extends CefNative
限定符和类型 | 方法和说明 |
---|---|
boolean |
getAuthCredentials(boolean isProxy, java.lang.String host, int port, java.lang.String realm, java.lang.String scheme, CefAuthCallback callback)
Called on the IO thread when the browser needs credentials from the user.
(当浏览器需要用户的凭据时,在IO线程上调用。)
|
void |
onDownloadData(CefURLRequest request, byte[] data, int data_length)
Called when some part of the response is read.
(读取响应的某些部分时调用。)
|
void |
onDownloadProgress(CefURLRequest request, int current, int total)
Notifies the client of download progress.
(通知客户端下载进度。)
|
void |
onRequestComplete(CefURLRequest request)
Notifies the client that the request has completed.
(通知客户端请求已完成。)
|
void |
onUploadProgress(CefURLRequest request, int current, int total)
Notifies the client of upload progress.
(通知客户端上传进度。)
|
getNativeRef, setNativeRef
boolean getAuthCredentials(boolean isProxy, java.lang.String host, int port, java.lang.String realm, java.lang.String scheme, CefAuthCallback callback)
void onDownloadData(CefURLRequest request, byte[] data, int data_length)
void onDownloadProgress(CefURLRequest request, int current, int total)
void onRequestComplete(CefURLRequest request)
void onUploadProgress(CefURLRequest request, int current, int total)