Given an URL, returns the PluginData which contains the surrogate response for the request, or null if the handler is not interested.paramurl URL string.paramheaders The headers associated with the request. May be null.returnThe PluginData containing the surrogate response.
Given an URL, returns the CacheResult which contains the surrogate response for the request, or null if the handler is not interested.paramurl URL string.paramheaders The headers associated with the request. May be null.returnThe CacheResult containing the surrogate response.DeprecatedUse PluginData getPluginData(String url, Map headers); instead