Interface RdfHttpResourceFile

All Known Implementing Classes:
RdfHttpResourceFileImpl

public interface RdfHttpResourceFile
A resource is identified by an ID and can host multiple content entities.
Author:
raven
  • Method Details

    • getResourceStore

      ResourceStore getResourceStore()
    • getEntities

    • getRelativePath

      Path getRelativePath()
      The relative path that backs this http resource
    • resolve

      RdfHttpResourceFile resolve(String path)
      Return a http entity with a certain path relative to {getRelativePath(). TODO Clarify whether the path must not resolve to a ancestor folder of this entity's path
    • getAbsolutePath

      default Path getAbsolutePath()
    • allocate

      RdfHttpEntityFile allocate(org.apache.jena.rdf.model.Resource description)
      Get or create an entity that matches the given description. This is typically done based on an RDF description corresponding to HTTP accept headers: accept, accept-encoding, accept-charset, accept-language. However, the design intentionally allows for custom resolution mechanisms. TODO Add the RFC number(s) the resolution mechanism should adhere to
      Parameters:
      description -
      Returns: