java.lang.Object | ||
android.webkit.UrlInterceptRegistry |
UrlInterceptRegistry() |
synchronized | static | CacheManager.CacheResult | getSurrogate(String url, Map<String, String> headers) | |||
Given an url, returns the CacheResult of the first UrlInterceptHandler interested, or null if none are. | ||||||
synchronized | static | boolean | registerHandler(UrlInterceptHandler handler) | |||
Register a new UrlInterceptHandler. | ||||||
synchronized | static | void | setUrlInterceptDisabled(boolean disabled) | |||
set the flag to control whether url intercept is enabled or disabled | ||||||
synchronized | static | boolean | unregisterHandler(UrlInterceptHandler handler) | |||
Unregister a previously registered UrlInterceptHandler. | ||||||
synchronized | static | boolean | urlInterceptDisabled() | |||
get the state of the url intercept, enabled or disabled |
handler | The new UrlInterceptHandler object |
---|
disabled | true to disable the cache |
---|
handler | A previously registered UrlInterceptHandler. |
---|
Copyright 2007 Google Inc. | Build 0.9_r1-98467 - 14 Aug 2008 18:48 |