Package io.webfolder.cdp.command
Interface SecurityAsync
public interface SecurityAsync
Security
-
Method Summary
Modifier and TypeMethodDescriptiondisable()
Disables tracking security state changes.enable()
Enables tracking security state changes.handleCertificateError
(Integer eventId, CertificateErrorAction action) Deprecated.setIgnoreCertificateErrors
(Boolean ignore) Enable/disable whether all certificate errors should be ignored.setOverrideCertificateErrors
(Boolean override) Deprecated.
-
Method Details
-
disable
CompletableFuture<Void> disable()Disables tracking security state changes. -
enable
CompletableFuture<Void> enable()Enables tracking security state changes. -
handleCertificateError
@Deprecated CompletableFuture<Void> handleCertificateError(Integer eventId, CertificateErrorAction action) Deprecated.Handles a certificate error that fired a certificateError event.- Parameters:
eventId
- The ID of the event.action
- The action to take on the certificate error.
-
setIgnoreCertificateErrors
Enable/disable whether all certificate errors should be ignored.- Parameters:
ignore
- If true, all certificate errors will be ignored.
-
setOverrideCertificateErrors
Deprecated.Enable/disable overriding certificate errors. If enabled, all certificate error events need to be handled by the DevTools client and should be answered with handleCertificateError commands.- Parameters:
override
- If true, certificate errors will be overridden.
-