public class SslErrorHandler extends Handler
WebViewClient.onReceivedSslError(android.webkit.WebView, android.webkit.SslErrorHandler, android.net.http.SslError)
. The host application must call
either proceed()
or cancel()
to set the WebView's response
to the request.Handler.Callback
Constructor and Description |
---|
SslErrorHandler() |
Modifier and Type | Method and Description |
---|---|
void |
cancel()
Cancel this request and all pending requests for the WebView that had
the error.
|
void |
proceed()
Proceed with the SSL certificate.
|
dispatchMessage, dump, getLooper, getMessageName, getTraceName, handleMessage, hasCallbacks, hasMessages, hasMessages, obtainMessage, obtainMessage, obtainMessage, obtainMessage, obtainMessage, post, postAtFrontOfQueue, postAtTime, postAtTime, postDelayed, removeCallbacks, removeCallbacks, removeCallbacksAndMessages, removeMessages, removeMessages, runWithScissors, sendEmptyMessage, sendEmptyMessageAtTime, sendEmptyMessageDelayed, sendMessage, sendMessageAtFrontOfQueue, sendMessageAtTime, sendMessageDelayed, toString