Code example for WebViewClient

Methods: onReceivedSslError

0
    mWrappedClient.doUpdateVisitedHistory(view, url, isReload);
  } 
 
  /** {@inheritDoc} */ 
  @Override 
  public void onReceivedSslError(WebView view, SslErrorHandler handler,
          SslError error) {
      mWrappedClient.onReceivedSslError(view, handler, error);
  } 
 
  /** {@inheritDoc} */ 
  @Override 
  public void onReceivedClientCertRequest(WebView view, ClientCertRequestHandler handler,
          String host_and_port) {
    if (mWrappedClient instanceof WebViewClientClassicExt) {
      ((WebViewClientClassicExt) mWrappedClient).onReceivedClientCertRequest(view, handler, host_and_port);
    } else { 
      super.onReceivedClientCertRequest(view, handler, host_and_port);
    } 
  }