public final class DefaultBeforeFormRepostCallback extends DefaultCallback implements BeforeFormRepostCallback
BeforeFormRepostCallback
implementation that shows a dialog when a web page
with POST data is going to be reloaded.BeforeFormRepostCallback.Action, BeforeFormRepostCallback.Params
Constructor and Description |
---|
DefaultBeforeFormRepostCallback(BrowserView parent) |
Modifier and Type | Method and Description |
---|---|
void |
on(BeforeFormRepostCallback.Params params,
BeforeFormRepostCallback.Action tell)
Invoked when the callback needs a response for the given callback parameters.
|
public DefaultBeforeFormRepostCallback(BrowserView parent)
public void on(BeforeFormRepostCallback.Params params, BeforeFormRepostCallback.Action tell)
AsyncCallback
on
in interface AsyncCallback<BeforeFormRepostCallback.Params,BeforeFormRepostCallback.Action>
params
- the object that represents the callback parameterstell
- the object that can be used to provide the callback response. One of its
methods must be invoked to provide the response. Once the response has been
provided, any call to the object methods will result in the IllegalStateException