summaryrefslogtreecommitdiff
path: root/core/java/android/webkit/WebViewClient.java
diff options
context:
space:
mode:
authorSteve Block <steveblock@google.com>2012-07-17 16:43:00 +0100
committerAndroid (Google) Code Review <android-gerrit@google.com>2012-07-23 14:30:15 -0700
commit46ce1db6ff3290b82b12f11715fbe82734a44322 (patch)
tree7f78ccb0f646ea24e14626b8cf5b9f4842c33991 /core/java/android/webkit/WebViewClient.java
parent219dfa4d392851c1ffd7147cb78d4236658a79d8 (diff)
Improve JavaDoc for HTTP basic authentication methods
Bug: 5461416 Change-Id: Ie3bfbf6acde34ea184aa8c8b1d3841e2a2aa8a22
Diffstat (limited to 'core/java/android/webkit/WebViewClient.java')
-rw-r--r--core/java/android/webkit/WebViewClient.java16
1 files changed, 9 insertions, 7 deletions
diff --git a/core/java/android/webkit/WebViewClient.java b/core/java/android/webkit/WebViewClient.java
index 64a5918c23b3..08a046a74992 100644
--- a/core/java/android/webkit/WebViewClient.java
+++ b/core/java/android/webkit/WebViewClient.java
@@ -204,14 +204,16 @@ public class WebViewClient {
}
/**
- * Notify the host application to handle an authentication request. The
- * default behavior is to cancel the request.
+ * Notifies the host application that the WebView received an HTTP
+ * authentication request. The host application can use the supplied
+ * {@link HttpAuthHandler} to set the WebView's response to the request.
+ * The default behavior is to cancel the request.
*
- * @param view The WebView that is initiating the callback.
- * @param handler The HttpAuthHandler that will handle the user's response.
- * @param host The host requiring authentication.
- * @param realm A description to help store user credentials for future
- * visits.
+ * @param view the WebView that is initiating the callback
+ * @param handler the HttpAuthHandler used to set the WebView's response
+ * @param host the host requiring authentication
+ * @param realm the realm for which authentication is required
+ * @see Webview#getHttpAuthUsernamePassword
*/
public void onReceivedHttpAuthRequest(WebView view,
HttpAuthHandler handler, String host, String realm) {