public interface

SslErrorHandler

com.tencent.smtt.export.external.interfaces.SslErrorHandler

Class Overview

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.

Summary

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.

Public Methods

public abstract void cancel ()

Cancel this request and all pending requests for the WebView that had the error.

public abstract void proceed ()

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.