Java android.webkit WebViewClient fields, constructors, methods, implement or subclass

Example usage for Java android.webkit WebViewClient fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for android.webkit WebViewClient.

The text is from its open source code.

Subclass

android.webkit.WebViewClient has subclasses.
Click this link to see all its subclasses.

Field

intERROR_HOST_LOOKUP
Server or proxy hostname lookup failed
intERROR_CONNECT
Failed to connect to the server
intERROR_TIMEOUT
Connection timed out
intERROR_UNSUPPORTED_SCHEME
Unsupported URI scheme
intERROR_FAILED_SSL_HANDSHAKE
Failed to perform SSL handshake
intERROR_BAD_URL
Malformed URL

Constructor

Method

voiddoUpdateVisitedHistory(WebView view, String url, boolean isReload)
Notify the host application to update its visited links database.
voidonFormResubmission(WebView view, Message dontResend, Message resend)
As the host application if the browser should resend data as the requested page was a result of a POST.
voidonLoadResource(WebView view, String url)
Notify the host application that the WebView will load the resource specified by the given url.
voidonPageFinished(WebView view, String url)
Notify the host application that a page has finished loading.
voidonPageStarted(WebView view, String url, Bitmap favicon)
Notify the host application that a page has started loading.
voidonReceivedError(WebView view, int errorCode, String description, String failingUrl)
Report an error to the host application.
voidonReceivedHttpAuthRequest(WebView view, HttpAuthHandler handler, String host, String realm)
Notifies the host application that the WebView received an HTTP authentication request.
voidonReceivedLoginRequest(WebView view, String realm, @Nullable String account, String args)
Notify the host application that a request to automatically log in the user has been processed.
voidonReceivedSslError(WebView view, SslErrorHandler handler, SslError error)
Notify the host application that an SSL error occurred while loading a resource.
voidonScaleChanged(WebView view, float oldScale, float newScale)
Notify the host application that the scale applied to the WebView has changed.
voidonTooManyRedirects(WebView view, Message cancelMsg, Message continueMsg)
Notify the host application that there have been an excessive number of HTTP redirects.
voidonUnhandledKeyEvent(WebView view, KeyEvent event)
Notify the host application that a key was not handled by the WebView.
WebResourceResponseshouldInterceptRequest(WebView view, String url)
Notify the host application of a resource request and allow the application to return the data.
WebResourceResponseshouldInterceptRequest(WebView view, WebResourceRequest request)
Notify the host application of a resource request and allow the application to return the data.
booleanshouldOverrideKeyEvent(WebView view, KeyEvent event)
Give the host application a chance to handle the key event synchronously.
booleanshouldOverrideUrlLoading(WebView view, String url)
Give the host application a chance to take control when a URL is about to be loaded in the current WebView.
booleanshouldOverrideUrlLoading(WebView view, WebResourceRequest request)
Give the host application a chance to take control when a URL is about to be loaded in the current WebView.