Class SelectClientCertificateCallback.Action

java.lang.Object
com.teamdev.jxbrowser.callback.AsyncCallbackAction<com.teamdev.jxbrowser.net.internal.rpc.SelectClientCertificate.Response>
com.teamdev.jxbrowser.browser.callback.SelectClientCertificateCallback.Action
Enclosing interface:
SelectClientCertificateCallback

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

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

    Modifier and Type
    Method
    Description
    void
    Notifies the browser that the SSL authorization should be cancelled.
    void
    select(int index)
    Notifies the browser that the client certificate from the list with the given index should be selected.
    void
    select(ClientCertificate clientCertificate)
    Notifies the browser that the given clientCertificate should be selected.

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

    • select

      public void select(int index)
      Notifies the browser that the client certificate from the list with the given index should be selected.
    • select

      public void select(ClientCertificate clientCertificate)
      Notifies the browser that the given clientCertificate should be selected.
    • cancel

      public void cancel()
      Notifies the browser that the SSL authorization should be cancelled.