public class

AmazonWebViewClient

extends Object
java.lang.Object
   ↳ com.amazon.android.webkit.AmazonWebViewClient

Class Overview

The AmazonWebViewClient class is intended to be functionally equivalent to to the WebViewClient class. See WebViewClient for usage.

Summary

Constants
int ERROR_AUTHENTICATION The ERROR_AUTHENTICATION constant is intended to be functionally equivalent to to the ERROR_AUTHENTICATION constant.
int ERROR_BAD_URL The ERROR_BAD_URL constant is intended to be functionally equivalent to to the ERROR_BAD_URL constant.
int ERROR_CONNECT The ERROR_CONNECT constant is intended to be functionally equivalent to to the ERROR_CONNECT constant.
int ERROR_FAILED_SSL_HANDSHAKE The ERROR_FAILED_SSL_HANDSHAKE constant is intended to be functionally equivalent to to the ERROR_FAILED_SSL_HANDSHAKE constant.
int ERROR_FILE The ERROR_FILE constant is intended to be functionally equivalent to to the ERROR_FILE constant.
int ERROR_FILE_NOT_FOUND The ERROR_FILE_NOT_FOUND constant is intended to be functionally equivalent to to the ERROR_FILE_NOT_FOUND constant.
int ERROR_HOST_LOOKUP The ERROR_HOST_LOOKUP constant is intended to be functionally equivalent to to the ERROR_HOST_LOOKUP constant.
int ERROR_IO The ERROR_IO constant is intended to be functionally equivalent to to the ERROR_IO constant.
int ERROR_OK The request succeeded.
int ERROR_PROXY_AUTHENTICATION The ERROR_PROXY_AUTHENTICATION constant is intended to be functionally equivalent to to the ERROR_PROXY_AUTHENTICATION constant.
int ERROR_REDIRECT_LOOP The ERROR_REDIRECT_LOOP constant is intended to be functionally equivalent to to the ERROR_REDIRECT_LOOP constant.
int ERROR_TIMEOUT The ERROR_TIMEOUT constant is intended to be functionally equivalent to to the ERROR_TIMEOUT constant.
int ERROR_TOO_MANY_REQUESTS The ERROR_TOO_MANY_REQUESTS constant is intended to be functionally equivalent to to the ERROR_TOO_MANY_REQUESTS constant.
int ERROR_UNKNOWN The ERROR_UNKNOWN constant is intended to be functionally equivalent to to the ERROR_UNKNOWN constant.
int ERROR_UNSUPPORTED_AUTH_SCHEME The ERROR_UNSUPPORTED_AUTH_SCHEME constant is intended to be functionally equivalent to to the ERROR_UNSUPPORTED_AUTH_SCHEME constant.
int ERROR_UNSUPPORTED_SCHEME The ERROR_UNSUPPORTED_SCHEME constant is intended to be functionally equivalent to to the ERROR_UNSUPPORTED_SCHEME constant.
Public Constructors
AmazonWebViewClient()
Public Methods
void doUpdateVisitedHistory(AmazonWebView view, String url, boolean isReload)
The doUpdateVisitedHistory() method is intended to be functionally equivalent to to the doUpdateVisitedHistory(android.webkit.WebView, String, boolean) method.
void onFormResubmission(AmazonWebView view, Message dontResend, Message resend)
The onFormResubmission() method is intended to be functionally equivalent to to the onFormResubmission(android.webkit.WebView, android.os.Message, android.os.Message) method.
void onLoadResource(AmazonWebView view, String url)
The onLoadResource() method is intended to be functionally equivalent to to the onLoadResource(android.webkit.WebView, String) method.
void onPageFinished(AmazonWebView view, String url)
The onPageFinished() method is intended to be functionally equivalent to to the onPageFinished(android.webkit.WebView, String) method.
void onPageStarted(AmazonWebView view, String url, Bitmap favicon)
The onPageStarted() method is intended to be functionally equivalent to to the onPageStarted(android.webkit.WebView, String, android.graphics.Bitmap) method.
void onReceivedError(AmazonWebView view, int errorCode, String description, String failingUrl)
The onReceivedError() method is intended to be functionally equivalent to to the onReceivedError(android.webkit.WebView, int, String, String) method.
void onReceivedHttpAuthRequest(AmazonWebView view, AmazonHttpAuthHandler handler, String host, String realm)
The onReceivedHttpAuthRequest() method is intended to be functionally equivalent to to the onReceivedHttpAuthRequest(WebView, HttpAuthHandler, String, String) method.
void onReceivedLoginRequest(AmazonWebView view, String realm, String account, String args)
The onReceivedLoginRequest() method is intended to be functionally equivalent to to the onReceivedLoginRequest(android.webkit.WebView, String, String, String) method.
void onReceivedSslError(AmazonWebView webView, AmazonSslErrorHandler sslErrorHandler, SslError sslError)
The onReceivedSslError() method is intended to be functionally equivalent to to the onReceivedSslError(android.webkit.WebView, SslErrorHandler, android.net.http.SslError) method.
void onScaleChanged(AmazonWebView view, float oldScale, float newScale)
The onScaleChanged() method is intended to be functionally equivalent to to the onScaleChanged(android.webkit.WebView, float, float) method.
void onTooManyRedirects(AmazonWebView view, Message cancelMsg, Message continueMsg)
The onTooManyRedirects() method is intended to be functionally equivalent to to the onTooManyRedirects(android.webkit.WebView, android.os.Message, android.os.Message) method.
void onUnhandledKeyEvent(AmazonWebView view, KeyEvent event)
The onUnhandledKeyEvent() method is intended to be functionally equivalent to to the onUnhandledKeyEvent(android.webkit.WebView, android.view.KeyEvent) method.
AmazonWebResourceResponse shouldInterceptRequest(AmazonWebView webview, String url)
The shouldInterceptRequest() method is intended to be functionally equivalent to to the shouldInterceptRequest(android.webkit.WebView, String) method.
boolean shouldOverrideKeyEvent(AmazonWebView view, KeyEvent event)
The shouldOverrideKeyEvent() method is intended to be functionally equivalent to to the shouldOverrideKeyEvent(android.webkit.WebView, android.view.KeyEvent) method.
boolean shouldOverrideUrlLoading(AmazonWebView view, String url)
The shouldOverrideUrlLoading() method is intended to be functionally equivalent to to the shouldOverrideUrlLoading(android.webkit.WebView, String) method.
[Expand]
Inherited Methods
From class java.lang.Object

Constants

public static final int ERROR_AUTHENTICATION

The ERROR_AUTHENTICATION constant is intended to be functionally equivalent to to the ERROR_AUTHENTICATION constant. See ERROR_AUTHENTICATION for usage.

Constant Value: -4 (0xfffffffc)

public static final int ERROR_BAD_URL

The ERROR_BAD_URL constant is intended to be functionally equivalent to to the ERROR_BAD_URL constant. See ERROR_BAD_URL for usage.

Constant Value: -12 (0xfffffff4)

public static final int ERROR_CONNECT

The ERROR_CONNECT constant is intended to be functionally equivalent to to the ERROR_CONNECT constant. See ERROR_CONNECT for usage.

Constant Value: -6 (0xfffffffa)

public static final int ERROR_FAILED_SSL_HANDSHAKE

The ERROR_FAILED_SSL_HANDSHAKE constant is intended to be functionally equivalent to to the ERROR_FAILED_SSL_HANDSHAKE constant. See ERROR_FAILED_SSL_HANDSHAKE for usage.

Constant Value: -11 (0xfffffff5)

public static final int ERROR_FILE

The ERROR_FILE constant is intended to be functionally equivalent to to the ERROR_FILE constant. See ERROR_FILE for usage.

Constant Value: -13 (0xfffffff3)

public static final int ERROR_FILE_NOT_FOUND

The ERROR_FILE_NOT_FOUND constant is intended to be functionally equivalent to to the ERROR_FILE_NOT_FOUND constant. See ERROR_FILE_NOT_FOUND for usage.

Constant Value: -14 (0xfffffff2)

public static final int ERROR_HOST_LOOKUP

The ERROR_HOST_LOOKUP constant is intended to be functionally equivalent to to the ERROR_HOST_LOOKUP constant. See ERROR_HOST_LOOKUP for usage.

Constant Value: -2 (0xfffffffe)

public static final int ERROR_IO

The ERROR_IO constant is intended to be functionally equivalent to to the ERROR_IO constant. See ERROR_IO for usage.

Constant Value: -7 (0xfffffff9)

public static final int ERROR_OK

The request succeeded.

Constant Value: 0 (0x00000000)

public static final int ERROR_PROXY_AUTHENTICATION

The ERROR_PROXY_AUTHENTICATION constant is intended to be functionally equivalent to to the ERROR_PROXY_AUTHENTICATION constant. See ERROR_PROXY_AUTHENTICATION for usage.

Constant Value: -5 (0xfffffffb)

public static final int ERROR_REDIRECT_LOOP

The ERROR_REDIRECT_LOOP constant is intended to be functionally equivalent to to the ERROR_REDIRECT_LOOP constant. See ERROR_REDIRECT_LOOP for usage.

Constant Value: -9 (0xfffffff7)

public static final int ERROR_TIMEOUT

The ERROR_TIMEOUT constant is intended to be functionally equivalent to to the ERROR_TIMEOUT constant. See ERROR_TIMEOUT for usage.

Constant Value: -8 (0xfffffff8)

public static final int ERROR_TOO_MANY_REQUESTS

The ERROR_TOO_MANY_REQUESTS constant is intended to be functionally equivalent to to the ERROR_TOO_MANY_REQUESTS constant. See ERROR_TOO_MANY_REQUESTS for usage.

Constant Value: -15 (0xfffffff1)

public static final int ERROR_UNKNOWN

The ERROR_UNKNOWN constant is intended to be functionally equivalent to to the ERROR_UNKNOWN constant. See ERROR_UNKNOWN for usage.

Constant Value: -1 (0xffffffff)

public static final int ERROR_UNSUPPORTED_AUTH_SCHEME

The ERROR_UNSUPPORTED_AUTH_SCHEME constant is intended to be functionally equivalent to to the ERROR_UNSUPPORTED_AUTH_SCHEME constant. See ERROR_UNSUPPORTED_AUTH_SCHEME for usage.

Constant Value: -3 (0xfffffffd)

public static final int ERROR_UNSUPPORTED_SCHEME

The ERROR_UNSUPPORTED_SCHEME constant is intended to be functionally equivalent to to the ERROR_UNSUPPORTED_SCHEME constant. See ERROR_UNSUPPORTED_SCHEME for usage.

Constant Value: -10 (0xfffffff6)

Public Constructors

public AmazonWebViewClient ()

Public Methods

public void doUpdateVisitedHistory (AmazonWebView view, String url, boolean isReload)

The doUpdateVisitedHistory() method is intended to be functionally equivalent to to the doUpdateVisitedHistory(android.webkit.WebView, String, boolean) method. See doUpdateVisitedHistory(android.webkit.WebView, String, boolean) for usage.

public void onFormResubmission (AmazonWebView view, Message dontResend, Message resend)

public void onLoadResource (AmazonWebView view, String url)

The onLoadResource() method is intended to be functionally equivalent to to the onLoadResource(android.webkit.WebView, String) method. See onLoadResource(android.webkit.WebView, String) for usage.

public void onPageFinished (AmazonWebView view, String url)

The onPageFinished() method is intended to be functionally equivalent to to the onPageFinished(android.webkit.WebView, String) method. See onPageFinished(android.webkit.WebView, String) for usage.

public void onPageStarted (AmazonWebView view, String url, Bitmap favicon)

The onPageStarted() method is intended to be functionally equivalent to to the onPageStarted(android.webkit.WebView, String, android.graphics.Bitmap) method. See onPageStarted(android.webkit.WebView, String, android.graphics.Bitmap) for usage.

public void onReceivedError (AmazonWebView view, int errorCode, String description, String failingUrl)

The onReceivedError() method is intended to be functionally equivalent to to the onReceivedError(android.webkit.WebView, int, String, String) method. See onReceivedError(android.webkit.WebView, int, String, String) for usage.

public void onReceivedHttpAuthRequest (AmazonWebView view, AmazonHttpAuthHandler handler, String host, String realm)

The onReceivedHttpAuthRequest() method is intended to be functionally equivalent to to the onReceivedHttpAuthRequest(WebView, HttpAuthHandler, String, String) method. See onReceivedHttpAuthRequest(WebView, HttpAuthHandler, String, String) for usage.

public void onReceivedLoginRequest (AmazonWebView view, String realm, String account, String args)

The onReceivedLoginRequest() method is intended to be functionally equivalent to to the onReceivedLoginRequest(android.webkit.WebView, String, String, String) method. See onReceivedLoginRequest(android.webkit.WebView, String, String, String) for usage.

public void onReceivedSslError (AmazonWebView webView, AmazonSslErrorHandler sslErrorHandler, SslError sslError)

public void onScaleChanged (AmazonWebView view, float oldScale, float newScale)

The onScaleChanged() method is intended to be functionally equivalent to to the onScaleChanged(android.webkit.WebView, float, float) method. See onScaleChanged(android.webkit.WebView, float, float) for usage.

public void onTooManyRedirects (AmazonWebView view, Message cancelMsg, Message continueMsg)

public void onUnhandledKeyEvent (AmazonWebView view, KeyEvent event)

The onUnhandledKeyEvent() method is intended to be functionally equivalent to to the onUnhandledKeyEvent(android.webkit.WebView, android.view.KeyEvent) method. See onUnhandledKeyEvent(android.webkit.WebView, android.view.KeyEvent) for usage.

public AmazonWebResourceResponse shouldInterceptRequest (AmazonWebView webview, String url)

The shouldInterceptRequest() method is intended to be functionally equivalent to to the shouldInterceptRequest(android.webkit.WebView, String) method. See shouldInterceptRequest(android.webkit.WebView, String) for usage.

public boolean shouldOverrideKeyEvent (AmazonWebView view, KeyEvent event)

The shouldOverrideKeyEvent() method is intended to be functionally equivalent to to the shouldOverrideKeyEvent(android.webkit.WebView, android.view.KeyEvent) method. See shouldOverrideKeyEvent(android.webkit.WebView, android.view.KeyEvent) for usage.

public boolean shouldOverrideUrlLoading (AmazonWebView view, String url)

The shouldOverrideUrlLoading() method is intended to be functionally equivalent to to the shouldOverrideUrlLoading(android.webkit.WebView, String) method. See shouldOverrideUrlLoading(android.webkit.WebView, String) for usage.