Class CertificateErrorCallback.Action
java.lang.Object
com.teamdev.jxbrowser.callback.AsyncCallbackAction<com.teamdev.jxbrowser.net.internal.rpc.AllowCertificateError.Response>
com.teamdev.jxbrowser.browser.callback.CertificateErrorCallback.Action
- Enclosing interface:
- CertificateErrorCallback
public static final class CertificateErrorCallback.Action
extends AsyncCallbackAction<com.teamdev.jxbrowser.net.internal.rpc.AllowCertificateError.Response>
An action providing a response to the
CertificateErrorCallback
.-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
allow()
Notifies the browser that the certificate error must be ignored.void
cancel()
Notifies the browser that loading must be canceled.void
deny()
Notifies the browser that the certificate error must not be ignored, and the page loading should be continued.Methods inherited from class com.teamdev.jxbrowser.callback.AsyncCallbackAction
isClosed
-
Constructor Details
-
Action
public Action(Consumer<com.teamdev.jxbrowser.net.internal.rpc.AllowCertificateError.Response> consumer)
-
-
Method Details
-
allow
public void allow()Notifies the browser that the certificate error must be ignored. The requested resource will be loaded. -
deny
public void deny()Notifies the browser that the certificate error must not be ignored, and the page loading should be continued. An error web page will be loaded in this case. -
cancel
public void cancel()Notifies the browser that loading must be canceled.
-