Since: API Level 1
public interface

UrlInterceptHandler

android.webkit.UrlInterceptHandler

This interface is deprecated.
This interface was inteded to be used by Gears. Since Gears was deprecated, so is this class.

Summary

Public Methods
abstract PluginData getPluginData(String url, Map<StringString> headers)
This method is deprecated. Do not use, this interface is deprecated.
abstract CacheManager.CacheResult service(String url, Map<StringString> headers)
This method is deprecated. Do not use, this interface is deprecated.

Public Methods

public abstract PluginData getPluginData (String url, Map<StringString> headers)

Since: API Level 3

This method is deprecated.
Do not use, this interface is deprecated.

Given an URL, returns the PluginData 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 PluginData containing the surrogate response.

public abstract CacheManager.CacheResult service (String url, Map<StringString> headers)

Since: API Level 1

This method is deprecated.
Do not use, this interface is deprecated.

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.