List of usage examples for android.webkit WebViewClient ERROR_TIMEOUT
int ERROR_TIMEOUT
To view the source code for android.webkit WebViewClient ERROR_TIMEOUT.
Click Source Link
From source file:Main.java
private static boolean canRetryWebView(Context context, int errorCode, String description, String failingUrl) { if (errorCode == WebViewClient.ERROR_CONNECT || errorCode == WebViewClient.ERROR_FAILED_SSL_HANDSHAKE || errorCode == WebViewClient.ERROR_HOST_LOOKUP || errorCode == WebViewClient.ERROR_TIMEOUT) { return true; } else {//from www .j a va 2 s. c om return false; } }