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 Summary
Modifier and TypeMethodDescriptionallocate(org.apache.jena.rdf.model.Resource description) Get or create an entity that matches the given description.default PathThe relative path that backs this http resourceReturn a http entity with a certain path relative to {getRelativePath().
-
Method Details
-
getResourceStore
ResourceStore getResourceStore() -
getEntities
Collection<RdfHttpEntityFile> getEntities() -
getRelativePath
Path getRelativePath()The relative path that backs this http resource -
resolve
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
-
allocate
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:
-