URL Resource Reader
Description
The URLResourceReader
is an implementation of ResourceReader
which is included in the DDF Catalog. It obtains a resource given an http, https, or file-based URL.
The URLResourceReader
will connect to the provided Resource URL and read the resource's bytes into an InputStream
.
Usage
URLResourceReader
will be used by the Catalog Framework to obtain a resource whose Metacard is cataloged in the local data store. This particular ResourceReader
will be chosen by the CatalogFramework
if the requested resource's URL has a protocol of http
, https
, or file
.
For example, requesting a resource with the following URL will make the Catalog Framework invoke the URLResourceReader
to retrieve the product.
file:///home/users/ddf_user/data/example.txt
If a resource was requested with the URL udp://123.45.67.89:80/SampleResourceStream
, the URLResourceReader
would not be invoked.
Installation and Uninstallation
URLResourceReader
is installed by default with the DDF Catalog.
Configuration
This URLResourceReader
has no configurable properties. It can only be installed or uninstalled.
Implementation Details
Supported Schemes |
|
If a file-based URL is passed to the URLResourceReader
, that file path needs to be accessible by the DDF instance.
Known Issues
None