Example usage for Java android.webkit WebViewClient fields, constructors, methods, implement or subclass
The text is from its open source code.
int | ERROR_HOST_LOOKUP Server or proxy hostname lookup failed |
int | ERROR_CONNECT Failed to connect to the server |
int | ERROR_TIMEOUT Connection timed out |
int | ERROR_UNSUPPORTED_SCHEME Unsupported URI scheme |
int | ERROR_FAILED_SSL_HANDSHAKE Failed to perform SSL handshake |
int | ERROR_BAD_URL Malformed URL |
void | doUpdateVisitedHistory(WebView view, String url, boolean isReload) Notify the host application to update its visited links database. |
void | onFormResubmission(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. |
void | onLoadResource(WebView view, String url) Notify the host application that the WebView will load the resource specified by the given url. |
void | onPageFinished(WebView view, String url) Notify the host application that a page has finished loading. |
void | onPageStarted(WebView view, String url, Bitmap favicon) Notify the host application that a page has started loading. |
void | onReceivedError(WebView view, int errorCode, String description, String failingUrl) Report an error to the host application. |
void | onReceivedHttpAuthRequest(WebView view, HttpAuthHandler handler, String host, String realm) Notifies the host application that the WebView received an HTTP authentication request. |
void | onReceivedLoginRequest(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. |
void | onReceivedSslError(WebView view, SslErrorHandler handler, SslError error) Notify the host application that an SSL error occurred while loading a resource. |
void | onScaleChanged(WebView view, float oldScale, float newScale) Notify the host application that the scale applied to the WebView has changed. |
void | onTooManyRedirects(WebView view, Message cancelMsg, Message continueMsg) Notify the host application that there have been an excessive number of HTTP redirects. |
void | onUnhandledKeyEvent(WebView view, KeyEvent event) Notify the host application that a key was not handled by the WebView. |
WebResourceResponse | shouldInterceptRequest(WebView view, String url) Notify the host application of a resource request and allow the application to return the data. |
WebResourceResponse | shouldInterceptRequest(WebView view, WebResourceRequest request) Notify the host application of a resource request and allow the application to return the data. |
boolean | shouldOverrideKeyEvent(WebView view, KeyEvent event) Give the host application a chance to handle the key event synchronously. |
boolean | shouldOverrideUrlLoading(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. |
boolean | shouldOverrideUrlLoading(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. |