Class 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.
    • Field Summary

      • Fields inherited from class org.apache.felix.utils.repository.BaseRepository

        capSets, resources
      • Fields inherited from interface org.osgi.service.repository.Repository

        URL
    • Constructor Summary

      Constructors 
      Constructor Description
      JsonRepository​(String url, long expiration, boolean ignoreFailures)  
    • Constructor Detail

      • JsonRepository

        public JsonRepository​(String url,
                              long expiration,
                              boolean ignoreFailures)
    • Method Detail

      • checkAndLoadCache

        protected void checkAndLoadCache()
        Overrides:
        checkAndLoadCache in class org.apache.felix.utils.repository.JsonRepository