# Print output for @column tags ?> SslErrorHandler - Android SDK | Android Developers

Most visited

Recently visited

SslErrorHandler

public class SslErrorHandler
extends Handler

java.lang.Object
   ↳ android.os.Handler
     ↳ android.webkit.SslErrorHandler


Represents a request for handling an SSL error. Instances of this class are created by the WebView and passed to WebViewClient#onReceivedSslError. The host application must call either proceed() or cancel() to set the WebView's response to the request.

Summary

Public methods

void cancel()

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

void proceed()

Proceed with the SSL certificate.

Inherited methods

Public methods

cancel

public void cancel ()

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

proceed

public 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 WebViewClient#onReceivedSslError for more information.