public static final class CertificateErrorCallback.Action extends AsyncCallbackAction<com.teamdev.jxbrowser.net.internal.rpc.AllowCertificateError.Response>
CertificateErrorCallback
.Constructor and Description |
---|
Action(java.util.function.Consumer<com.teamdev.jxbrowser.net.internal.rpc.AllowCertificateError.Response> consumer) |
Modifier and Type | Method and Description |
---|---|
void |
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.
|
isClosed
public Action(java.util.function.Consumer<com.teamdev.jxbrowser.net.internal.rpc.AllowCertificateError.Response> consumer)
public void allow()
public void deny()
public void cancel()