Code example for WebViewClient

Methods: onReceivedHttpAuthRequest

0
            mClient.onReceivedSslError(view, handler, error);
        } 
        @Override 
        public void onReceivedHttpAuthRequest(WebView view,
                HttpAuthHandler handler, String host, String realm) {
            mClient.onReceivedHttpAuthRequest(view, handler, host, realm);
        } 
        @Override 
        public void onFormResubmission(WebView view, Message dontResend,
                Message resend) {
            mClient.onFormResubmission(view, dontResend, resend);
        } 
        @Override 
        public void onReceivedError(WebView view, int errorCode,
                String description, String failingUrl) {
            mClient.onReceivedError(view, errorCode, description, failingUrl);
        } 
    } 
    // Subclass of WebChromeClient to display javascript dialogs. 
    private class SubWindowChromeClient extends WebChromeClient {
        // This subwindow's tab.