Interface OfflineRequestHandler
-
- All Implemented Interfaces:
public interface OfflineRequestHandlerExperimental: API may change, not ready for production use.
-
-
Method Summary
Modifier and Type Method Description abstract OfflineCacheStrategygetCacheStrategy(String url)abstract Map<String, String>getCachedResponseHeaders(String url)abstract WebResourceResponsegetCachedResponse(String url, Boolean allowStaleResponse)abstract WebResourceResponsegetCachedSnapshot(String url)abstract WebResourceResponsecacheResponse(String url, WebResourceResponse response)-
-
Method Detail
-
getCacheStrategy
abstract OfflineCacheStrategy getCacheStrategy(String url)
-
getCachedResponseHeaders
abstract Map<String, String> getCachedResponseHeaders(String url)
-
getCachedResponse
abstract WebResourceResponse getCachedResponse(String url, Boolean allowStaleResponse)
-
getCachedSnapshot
abstract WebResourceResponse getCachedSnapshot(String url)
-
cacheResponse
abstract WebResourceResponse cacheResponse(String url, WebResourceResponse response)
-
-
-
-