Interface CertificateErrorCallback
- All Superinterfaces:
AsyncCallback<CertificateErrorCallback.Params,
,CertificateErrorCallback.Action> BrowserAsyncCallback<CertificateErrorCallback.Params,
,CertificateErrorCallback.Action> BrowserCallback
,Callback
public interface CertificateErrorCallback
extends BrowserAsyncCallback<CertificateErrorCallback.Params,CertificateErrorCallback.Action>
The callback is invoked when an SSL certificate error occurs during loading a web page. The
passed
CertificateErrorCallback.Params
object contains information about the problematic SSL certificate.
Use the CertificateErrorCallback.Action.allow()
method to allow the certificate and continue loading the web
page.
Use the CertificateErrorCallback.Action.deny()
method to deny the certificate and continue loading
the web page. An error page will be loaded. This is the default behavior.
Use the CertificateErrorCallback.Action.cancel()
method to cancel loading.
If the callback throws an exception, the CertificateErrorCallback.Action.deny()
method will be invoked.
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
An action providing a response to theCertificateErrorCallback
.static interface
The parameters of theCertificateErrorCallback
. -
Method Summary
Methods inherited from interface com.teamdev.jxbrowser.callback.AsyncCallback
on