- uri
- the reference to the requested resource.
- connection
- the connection to fetch the response.
Documentation for this section has not yet been entered.
Type Reason Java.IO.IOException if an I/O error occurs while adding the resource. Java.Lang.IllegalArgumentException if any one of the parameters is set to null.
Allows the protocol handler to cache data after retrieving resources. The ResponseCache decides whether the resource data should be cached or not. If so, this method returns a CacheRequest to write the resource data to. Otherwise, this method returns null.