Interface StartDownloadCallback
- All Superinterfaces:
AsyncCallback<StartDownloadCallback.Params,,StartDownloadCallback.Action> BrowserAsyncCallback<StartDownloadCallback.Params,,StartDownloadCallback.Action> BrowserCallback,Callback
- All Known Implementing Classes:
DefaultStartDownloadCallback,DefaultStartDownloadCallback,DefaultStartDownloadCallback
public interface StartDownloadCallback
extends BrowserAsyncCallback<StartDownloadCallback.Params,StartDownloadCallback.Action>
The callback that is invoked when the browser is about to start downloading a file.
The StartDownloadCallback.Params contain all information about the file which is about to be downloaded.
Use the StartDownloadCallback.Action.download(Path) method to download this file into the particular
directory.
Use the StartDownloadCallback.Action.cancel() method to suppress file download.
- Since:
- 7.8
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classAn action providing a response to theStartDownloadCallback.static interfaceThe parameters of theStartDownloadCallback. -
Method Summary
Methods inherited from interface com.teamdev.jxbrowser.callback.AsyncCallback
on