ClientHandlersImpl

Constructors

Link copied to clipboard
constructor(service: RpcExecutor, bid2RemoteBrowser: Map<Integer, RemoteBrowser>)

Functions

Link copied to clipboard
open fun CompletionCallback_OnComplete(completionCallback: Int)
Link copied to clipboard
open fun connect(): Int
Link copied to clipboard
open fun CookieAccessFilter_CanSaveCookie(filter: Int, bid: Int, frame: RObject, request: RObject, response: RObject, cookie: List<String>): Boolean
Link copied to clipboard
open fun CookieAccessFilter_CanSendCookie(filter: Int, bid: Int, frame: RObject, request: RObject, cookie: List<String>): Boolean
Link copied to clipboard
Link copied to clipboard
open fun CookieVisitor_Dispose(visitor: Int)
Link copied to clipboard
open fun CookieVisitor_Visit(visitor: Int, cookie: Cookie, count: Int, total: Int): Boolean
Link copied to clipboard
open fun DisplayHandler_OnAddressChange(bid: Int, frame: RObject, url: String)
Link copied to clipboard
open fun DisplayHandler_OnConsoleMessage(bid: Int, level: Int, message: String, source: String, line: Int): Boolean
Link copied to clipboard
Link copied to clipboard
open fun DisplayHandler_OnTitleChange(bid: Int, title: String)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun FocusHandler_OnSetFocus(bid: Int, source: String): Boolean
Link copied to clipboard
open fun FocusHandler_OnTakeFocus(bid: Int, next: Boolean)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Called when a browser has received a request to close.
Link copied to clipboard
open fun LifeSpanHandler_OnAfterCreated(bid: Int, nativeBrowserIdentifier: Int)
Link copied to clipboard
Link copied to clipboard
open fun LifeSpanHandler_OnBeforePopup(bid: Int, frame: RObject, url: String, frameName: String, gesture: Boolean): Boolean
Link copied to clipboard
open fun LoadHandler_OnLoadEnd(bid: Int, frame: RObject, httpStatusCode: Int)
Link copied to clipboard
open fun LoadHandler_OnLoadError(bid: Int, frame: RObject, errorCode: Int, errorText: String, failedUrl: String)
Link copied to clipboard
open fun LoadHandler_OnLoadingStateChange(bid: Int, isLoading: Boolean, canGoBack: Boolean, canGoForward: Boolean)
Link copied to clipboard
open fun LoadHandler_OnLoadStart(bid: Int, frame: RObject, transition_type: Int)
Link copied to clipboard
open fun log(msg: String)
Link copied to clipboard
Link copied to clipboard
open fun MessageRouterHandler_onQuery(handler: RObject, bid: Int, frame: RObject, queryId: Long, request: String, persistent: Boolean, queryCallback: RObject): Boolean
Link copied to clipboard
open fun MessageRouterHandler_onQueryCanceled(handler: RObject, bid: Int, frame: RObject, queryId: Long)
Link copied to clipboard
Link copied to clipboard
open fun RenderHandler_GetScreenPoint(bid: Int, viewX: Int, viewY: Int): Point
Link copied to clipboard
Link copied to clipboard
open fun RenderHandler_OnPaint(bid: Int, popup: Boolean, dirtyRectsCount: Int, sharedMemName: String, sharedMemHandle: Long, width: Int, height: Int)
open fun RequestContextHandler_GetResourceRequestHandler(handlerId: Int, bid: Int, frame: RObject, request: RObject, isNavigation: Boolean, isDownload: Boolean, requestInitiator: String): RObject
Link copied to clipboard
open fun RequestHandler_GetAuthCredentials(bid: Int, origin_url: String, isProxy: Boolean, host: String, port: Int, realm: String, scheme: String, authCallback: RObject): Boolean
Link copied to clipboard
open fun RequestHandler_GetResourceRequestHandler(bid: Int, frame: RObject, request: RObject, isNavigation: Boolean, isDownload: Boolean, requestInitiator: String): RObject
Link copied to clipboard
open fun RequestHandler_OnBeforeBrowse(bid: Int, frame: RObject, request: RObject, user_gesture: Boolean, is_redirect: Boolean): Boolean
Link copied to clipboard
open fun RequestHandler_OnCertificateError(bid: Int, cert_error: String, request_url: String, sslInfo: ByteBuffer, callback: RObject): Boolean
Link copied to clipboard
open fun RequestHandler_OnOpenURLFromTab(bid: Int, frame: RObject, target_url: String, user_gesture: Boolean): Boolean
Link copied to clipboard
open fun ResourceHandler_Cancel(resourceHandler: Int)
Link copied to clipboard
open fun ResourceHandler_Dispose(resHandler: Int)
Link copied to clipboard
open fun ResourceHandler_GetResponseHeaders(resourceHandler: Int, response: RObject): ResponseHeaders
Link copied to clipboard
open fun ResourceHandler_ProcessRequest(resourceHandler: Int, request: RObject, callback: RObject): Boolean
Link copied to clipboard
open fun ResourceHandler_ReadResponse(resourceHandler: Int, bytes_to_read: Int, callback: RObject): ResponseData
Read response data.
Link copied to clipboard
open fun ResourceRequestHandler_Dispose(rrHandler: Int)
open fun ResourceRequestHandler_GetCookieAccessFilter(rrHandler: Int, bid: Int, frame: RObject, request: RObject): RObject
open fun ResourceRequestHandler_GetResourceHandler(rrHandler: Int, bid: Int, frame: RObject, request: RObject): RObject
open fun ResourceRequestHandler_OnBeforeResourceLoad(rrHandler: Int, bid: Int, frame: RObject, request: RObject): Boolean
open fun ResourceRequestHandler_OnProtocolExecution(rrHandler: Int, bid: Int, frame: RObject, request: RObject, allowOsExecution: Boolean): Boolean
open fun ResourceRequestHandler_OnResourceLoadComplete(rrHandler: Int, bid: Int, frame: RObject, request: RObject, response: RObject, status: String, receivedContentLength: Long)
open fun ResourceRequestHandler_OnResourceRedirect(rrHandler: Int, bid: Int, frame: RObject, request: RObject, response: RObject, new_url: String): String
open fun ResourceRequestHandler_OnResourceResponse(rrHandler: Int, bid: Int, frame: RObject, request: RObject, response: RObject): Boolean
Link copied to clipboard
open fun SchemeHandlerFactory_CreateHandler(schemeHandlerFactory: Int, bid: Int, frame: RObject, scheme_name: String, request: RObject): RObject
Link copied to clipboard
open fun SchemeHandlerFactory_Dispose(schemeHandlerFactory: Int)
Link copied to clipboard
open fun setOnContextInitialized(onContextInitialized: Runnable)