CefResourceRequestHandlerAdapter

An abstract adapter class for receiving browser request events. The methods in this class are empty. This class exists as convenience for creating handler objects.

Constructors

Link copied to clipboard
constructor()

Functions

Link copied to clipboard
Called on the IO thread before a resource is loaded.
Link copied to clipboard
Called on the IO thread before a resource is loaded.
Link copied to clipboard
open fun onBeforeResourceLoad(browser: CefBrowser, frame: CefFrame, request: CefRequest): Boolean
Called on the IO thread before a resource request is loaded.
Link copied to clipboard
open fun onProtocolExecution(browser: CefBrowser, frame: CefFrame, request: CefRequest, allowOsExecution: BoolRef)
Called on the IO thread to handle requests for URLs with an unknown protocol component.
Link copied to clipboard
open fun onResourceLoadComplete(browser: CefBrowser, frame: CefFrame, request: CefRequest, response: CefResponse, status: CefURLRequest.Status, receivedContentLength: Long)
Called on the IO thread when a resource load has completed.
Link copied to clipboard
open fun onResourceRedirect(browser: CefBrowser, frame: CefFrame, request: CefRequest, response: CefResponse, new_url: StringRef)
Called on the IO thread when a resource load is redirected.
Link copied to clipboard
open fun onResourceResponse(browser: CefBrowser, frame: CefFrame, request: CefRequest, response: CefResponse): Boolean
Called on the IO thread when a resource response is received.