public class SampleWebViewClient
extends 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_UNSUPPORTED_AUTH_SCHEME, ERROR_UNSUPPORTED_SCHEME
构造器和说明 |
---|
SampleWebViewClient() |
限定符和类型 | 方法和说明 |
---|---|
java.lang.String |
getShowErrorString() |
void |
onPageFinished(android.webkit.WebView view,
java.lang.String url) |
void |
onReceivedError(android.webkit.WebView view,
int errorCode,
java.lang.String description,
java.lang.String failingUrl) |
void |
setShowErrorString(java.lang.String showErrorString) |
boolean |
shouldOverrideUrlLoading(android.webkit.WebView view,
java.lang.String url) |
doUpdateVisitedHistory, onFormResubmission, onLoadResource, onPageStarted, onReceivedClientCertRequest, onReceivedHttpAuthRequest, onReceivedLoginRequest, onReceivedSslError, onScaleChanged, onTooManyRedirects, onUnhandledInputEvent, onUnhandledKeyEvent, shouldInterceptRequest, shouldInterceptRequest, shouldOverrideKeyEvent
public boolean shouldOverrideUrlLoading(android.webkit.WebView view, java.lang.String url)
shouldOverrideUrlLoading
在类中 android.webkit.WebViewClient
public void onPageFinished(android.webkit.WebView view, java.lang.String url)
onPageFinished
在类中 android.webkit.WebViewClient
public void onReceivedError(android.webkit.WebView view, int errorCode, java.lang.String description, java.lang.String failingUrl)
onReceivedError
在类中 android.webkit.WebViewClient
public java.lang.String getShowErrorString()
public void setShowErrorString(java.lang.String showErrorString)