Class JsonRepository
- java.lang.Object
-
- org.apache.felix.utils.repository.BaseRepository
-
- org.apache.felix.utils.repository.JsonRepository
-
- org.apache.karaf.features.internal.repository.JsonRepository
-
- All Implemented Interfaces:
org.osgi.service.repository.Repository
public class JsonRepository extends org.apache.felix.utils.repository.JsonRepository
Repository using a JSON representation of resource metadata. The json should be a map: the key is the resource uri and the value is a map of resource headers. The content of the URL can be gzipped.
-
-
Constructor Summary
Constructors Constructor Description JsonRepository(String url, long expiration, boolean ignoreFailures)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
checkAndLoadCache()
-
Methods inherited from class org.apache.felix.utils.repository.JsonRepository
buildResource, doRead, findProviders, getResources
-
-
-
-
Constructor Detail
-
JsonRepository
public JsonRepository(String url, long expiration, boolean ignoreFailures)
-
-