|
Build 1.0_r1(from source) | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectandroid.os.Handler
android.webkit.HttpAuthHandler
public class HttpAuthHandler
HTTP authentication handler: local handler that takes care of HTTP authentication requests. This class is passed as a parameter to BrowserCallback.displayHttpAuthDialog and is meant to receive the user's response.
| Constructor Summary | |
|---|---|
HttpAuthHandler(Network network)
Creates a new HTTP authentication handler with an empty loader queue |
|
| Method Summary | |
|---|---|
void |
cancel()
Cancel the authorization request |
(package private) void |
handleAuthRequest(LoadListener loader)
Enqueues the loader, if the loader is the only element in the queue, starts processing the loader |
void |
handleMessage(Message msg)
Subclasses must implement this to receive messages. |
void |
proceed(String username,
String password)
Proceed with the authorization with the given credentials |
(package private) void |
reset(BrowserFrame frame)
Resets the HTTP-authentication request handler, removes all loaders that share the same BrowserFrame |
boolean |
useHttpAuthUsernamePassword()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
HttpAuthHandler(Network network)
network - The parent network object| Method Detail |
|---|
public void handleMessage(Message msg)
Handler
handleMessage in class Handler
public void proceed(String username,
String password)
username - The username to use for authenticationpassword - The password to use for authenticationpublic void cancel()
public boolean useHttpAuthUsernamePassword()
void reset(BrowserFrame frame)
frame - The browser framevoid handleAuthRequest(LoadListener loader)
loader - The loader that resulted in this http
authentication request
|
Build 1.0_r1(from source) | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||