com.tencent.smtt.export.external.interfaces.SslErrorHandler |
Represents a request for handling an SSL error. Instances of this class are
created by the WebView and passed to
onReceivedSslError(WebView, SslErrorHandler, SslError)
. The host application must call
either proceed()
or cancel()
to set the WebView's response
to the request.
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
abstract void |
cancel()
Cancel this request and all pending requests for the WebView that had
the error.
| ||||||||||
abstract void |
proceed()
Proceed with the SSL certificate.
|
Cancel this request and all pending requests for the WebView that had the error.
Proceed with the SSL certificate.
It is not recommended to proceed past SSL errors and this method should
generally not be used; see onReceivedSslError(WebView, SslErrorHandler, SslError)
for
more information.