Class DefaultBeforeFormRepostCallback

All Implemented Interfaces:
BeforeFormRepostCallback, BrowserAsyncCallback<BeforeFormRepostCallback.Params,BeforeFormRepostCallback.Action>, BrowserCallback, AsyncCallback<BeforeFormRepostCallback.Params,BeforeFormRepostCallback.Action>, Callback

public final class DefaultBeforeFormRepostCallback extends DefaultCallback implements BeforeFormRepostCallback
The default BeforeFormRepostCallback implementation that shows a dialog when a web page with POST data is going to be reloaded.
  • Constructor Details

    • DefaultBeforeFormRepostCallback

      public DefaultBeforeFormRepostCallback(BrowserView parent)
  • Method Details

    • on

      Description copied from interface: AsyncCallback
      Invoked when the callback needs a response for the given callback parameters. The response can be provided asynchronously from a different thread or before the method returns. The response can be provided only once.
      Specified by:
      on in interface AsyncCallback<BeforeFormRepostCallback.Params,BeforeFormRepostCallback.Action>
      Parameters:
      params - the object that represents the callback parameters
      tell - 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