void (CefBrowser browser, CefDownloadItem downloadItem, String suggestedName, CefBeforeDownloadCallback callback) { myDownloadHandler.handle(browser, handler -> { handler.onBeforeDownload(browser, downloadItem, suggestedName, callback); }); }