Class SavePasswordCallback.Action

java.lang.Object
com.teamdev.jxbrowser.callback.AsyncCallbackAction<com.teamdev.jxbrowser.password.internal.rpc.SavePassword.Response>
com.teamdev.jxbrowser.browser.callback.SavePasswordCallback.Action
Enclosing interface:
SavePasswordCallback

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

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

    Modifier and Type
    Method
    Description
    void
    Tells the browser to ignore credentials saving.
    void
    Tells the browser that password forms on this URL should be blacklisted (marked as "never-saved") and SavePasswordCallback should not be invoked in the future.
    void
    Tells the browser to save credentials in the store.

    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.password.internal.rpc.SavePassword.Response> consumer)
  • Method Details

    • save

      public void save()
      Tells the browser to save credentials in the store.
    • neverSave

      public void neverSave()
      Tells the browser that password forms on this URL should be blacklisted (marked as "never-saved") and SavePasswordCallback should not be invoked in the future.
    • ignore

      public void ignore()
      Tells the browser to ignore credentials saving.
      Since:
      7.24.1