Class ContentPageWebContentClient


  • public class ContentPageWebContentClient
    extends android.webkit.WebViewClient
    Customized web view client
    • Field Summary

      • Fields inherited from class android.webkit.WebViewClient

        ERROR_AUTHENTICATION, ERROR_BAD_URL, ERROR_CONNECT, ERROR_FAILED_SSL_HANDSHAKE, ERROR_FILE, ERROR_FILE_NOT_FOUND, ERROR_HOST_LOOKUP, ERROR_IO, ERROR_PROXY_AUTHENTICATION, ERROR_REDIRECT_LOOP, ERROR_TIMEOUT, ERROR_TOO_MANY_REQUESTS, ERROR_UNKNOWN, ERROR_UNSAFE_RESOURCE, ERROR_UNSUPPORTED_AUTH_SCHEME, ERROR_UNSUPPORTED_SCHEME, SAFE_BROWSING_THREAT_BILLING, SAFE_BROWSING_THREAT_MALWARE, SAFE_BROWSING_THREAT_PHISHING, SAFE_BROWSING_THREAT_UNKNOWN, SAFE_BROWSING_THREAT_UNWANTED_SOFTWARE
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void onPageFinished​(android.webkit.WebView view, java.lang.String url)  
      boolean shouldOverrideUrlLoading​(android.webkit.WebView view, java.lang.String url)  
      • Methods inherited from class android.webkit.WebViewClient

        doUpdateVisitedHistory, onFormResubmission, onLoadResource, onPageCommitVisible, onPageStarted, onReceivedClientCertRequest, onReceivedError, onReceivedError, onReceivedHttpAuthRequest, onReceivedHttpError, onReceivedLoginRequest, onReceivedSslError, onRenderProcessGone, onSafeBrowsingHit, onScaleChanged, onTooManyRedirects, onUnhandledKeyEvent, shouldInterceptRequest, shouldInterceptRequest, shouldOverrideKeyEvent, shouldOverrideUrlLoading
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ContentPageWebContentClient

        public ContentPageWebContentClient​(ContentPageFragment fragment)
    • Method Detail

      • onPageFinished

        public void onPageFinished​(android.webkit.WebView view,
                                   java.lang.String url)
        Overrides:
        onPageFinished in class android.webkit.WebViewClient
      • shouldOverrideUrlLoading

        public boolean shouldOverrideUrlLoading​(android.webkit.WebView view,
                                                java.lang.String url)
        Overrides:
        shouldOverrideUrlLoading in class android.webkit.WebViewClient