Class DefaultSelectClientCertificateCallback
java.lang.Object
com.teamdev.jxbrowser.view.WidgetHolder<BrowserView>
com.teamdev.jxbrowser.view.swt.callback.DefaultCallback
com.teamdev.jxbrowser.view.swt.callback.DefaultSelectClientCertificateCallback
- All Implemented Interfaces:
BrowserAsyncCallback<SelectClientCertificateCallback.Params,
,SelectClientCertificateCallback.Action> BrowserCallback
,SelectClientCertificateCallback
,AsyncCallback<SelectClientCertificateCallback.Params,
,SelectClientCertificateCallback.Action> Callback
public final class DefaultSelectClientCertificateCallback
extends DefaultCallback
implements SelectClientCertificateCallback
The default
SelectClientCertificateCallback
implementation that shows a dialog that
allows the user to select a certificate from the certificate list passed to the callback.
If the certificate list is empty, the dialog is not displayed and the browser will be informed that the SSL authorization should be cancelled.
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.teamdev.jxbrowser.browser.callback.SelectClientCertificateCallback
SelectClientCertificateCallback.Action, SelectClientCertificateCallback.Params
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Invoked when the callback needs a response for the given callback parameters.
-
Constructor Details
-
DefaultSelectClientCertificateCallback
-
-
Method Details
-
on
public void on(SelectClientCertificateCallback.Params params, SelectClientCertificateCallback.Action tell) 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 interfaceAsyncCallback<SelectClientCertificateCallback.Params,
SelectClientCertificateCallback.Action> - Parameters:
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 theIllegalStateException
-