Build 1.0_r1(from source)

android.webkit
Interface UrlInterceptHandler

All Known Implementing Classes:
UrlInterceptHandlerGears

public interface UrlInterceptHandler


Method Summary
 CacheManager.CacheResult service(String url, Map<String,String> headers)
          Given an URL, returns the CacheResult which contains the surrogate response for the request, or null if the handler is not interested.
 

Method Detail

service

CacheManager.CacheResult service(String url,
                                 Map<String,String> headers)
Given an URL, returns the CacheResult which contains the surrogate response for the request, or null if the handler is not interested.

Parameters:
url - URL string.
headers - The headers associated with the request. May be null.
Returns:
The CacheResult containing the surrogate response.

Build 1.0_r1(from source)

Please submit a feedback, bug or feature