Interface BeforeFormRepostCallback
- All Superinterfaces:
AsyncCallback<BeforeFormRepostCallback.Params,
,BeforeFormRepostCallback.Action> BrowserAsyncCallback<BeforeFormRepostCallback.Params,
,BeforeFormRepostCallback.Action> BrowserCallback
,Callback
- All Known Implementing Classes:
DefaultBeforeFormRepostCallback
,DefaultBeforeFormRepostCallback
,DefaultBeforeFormRepostCallback
public interface BeforeFormRepostCallback
extends BrowserAsyncCallback<BeforeFormRepostCallback.Params,BeforeFormRepostCallback.Action>
This callback is invoked when a web page with POST data is going to be reloaded and the user must
confirm that the POST data can be resubmitted.
You can use this callback to display a confirmation dialog where you ask the user whether the web page can be reloaded or not.
The BeforeFormRepostCallback.Params
contains the re-post dialog parameters.
Use the BeforeFormRepostCallback.Action.repost()
method to allow resubmitting POST data.
Use the BeforeFormRepostCallback.Action.cancel()
method to cancel the page reloading.
If the callback throws an exception, the BeforeFormRepostCallback.Action.repost()
method will be invoked.
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
An action providing a response to theBeforeFormRepostCallback
.static interface
The parameters of theBeforeFormRepostCallback
. -
Method Summary
Methods inherited from interface com.teamdev.jxbrowser.callback.AsyncCallback
on