Class UrlResource

  • All Implemented Interfaces:
    Externalizable, Serializable, InternalResource, org.kie.api.io.Resource

    public class UrlResource
    extends BaseResource
    implements InternalResource, Externalizable
    Borrowed gratuitously from Spring under ASL2.0. Added in local file cache ability for http and https urls. Set the system property: "drools.resource.urlcache" to a directory which can be written to and read from as a cache - so remote resources will be cached with last known good copies.
    See Also:
    Serialized Form