Class BeforeFormRepostCallback.Action

java.lang.Object
com.teamdev.jxbrowser.callback.AsyncCallbackAction<com.teamdev.jxbrowser.internal.rpc.BeforeFormRepost.Response>
com.teamdev.jxbrowser.browser.callback.BeforeFormRepostCallback.Action
Enclosing interface:
BeforeFormRepostCallback

public static final class BeforeFormRepostCallback.Action extends AsyncCallbackAction<com.teamdev.jxbrowser.internal.rpc.BeforeFormRepost.Response>
An action providing a response to the BeforeFormRepostCallback.
  • Constructor Summary

    Constructors
    Constructor
    Description
    Action(Consumer<com.teamdev.jxbrowser.internal.rpc.BeforeFormRepost.Response> consumer)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Notifies the browser that the page reloading must be canceled.
    void
    Notifies the browser that resubmitting POST data is allowed.

    Methods inherited from class com.teamdev.jxbrowser.callback.AsyncCallbackAction

    isClosed

    Methods inherited from class java.lang.Object

    equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • Action

      public Action(Consumer<com.teamdev.jxbrowser.internal.rpc.BeforeFormRepost.Response> consumer)
  • Method Details

    • repost

      public void repost()
      Notifies the browser that resubmitting POST data is allowed.
    • cancel

      public void cancel()
      Notifies the browser that the page reloading must be canceled.