|
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.SslErrorHandler
public class SslErrorHandler
SslErrorHandler: class responsible for handling SSL errors. This class is passed as a parameter to BrowserCallback.displaySslErrorDialog and is meant to receive the user's response.
| Constructor Summary | |
|---|---|
SslErrorHandler(Network network)
Creates a new error handler with an empty loader queue. |
|
| Method Summary | |
|---|---|
void |
cancel()
Cancel this request and all pending requests for the WebView that had the error. |
(package private) void |
clear()
Clears SSL error preference table. |
(package private) void |
fastProcessQueuedSslErrors()
Processes queued SSL-error confirmation requests in a tight loop while there is no need to ask the user. |
void |
handleMessage(Message msg)
Subclasses must implement this to receive messages. |
(package private) void |
handleSslErrorRequest(LoadListener loader)
Handles SSL error(s) on the way up to the user. |
(package private) void |
handleSslErrorResponse(boolean proceed)
Handles SSL error(s) on the way down from the user. |
void |
proceed()
Proceed with the SSL certificate. |
(package private) void |
reset(BrowserFrame frame)
Resets the SSL error handler, removes all loaders that share the same BrowserFrame. |
(package private) boolean |
restoreState(Bundle inState)
Restores this handler's state from a map. |
(package private) boolean |
saveState(Bundle outState)
Saves this handler's state into a map. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
SslErrorHandler(Network network)
| Method Detail |
|---|
public void handleMessage(Message msg)
Handler
handleMessage in class Handlerboolean saveState(Bundle outState)
boolean restoreState(Bundle inState)
void clear()
void reset(BrowserFrame frame)
void handleSslErrorRequest(LoadListener loader)
void fastProcessQueuedSslErrors()
public void proceed()
public void cancel()
void handleSslErrorResponse(boolean proceed)
|
Build 1.0_r1(from source) | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||