Package org.trellisldp.api
Interface RetrievalService<T>
-
- Type Parameters:
T- the type of resource available from this service
- All Known Subinterfaces:
BinaryService,ResourceService
- All Known Implementing Classes:
DBResourceService,FileBinaryService,InMemoryBinaryService,InMemoryResourceService,NoopResourceService,TriplestoreResourceService
public interface RetrievalService<T>A service that can retrieve resources of some type, featuring optional retrieval by time.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CompletionStage<? extends T>get(IRI identifier)Get a resource by the given identifier.
-
-
-
Method Detail
-
get
CompletionStage<? extends T> get(IRI identifier)
Get a resource by the given identifier.- Parameters:
identifier- the resource identifier- Returns:
- the resource
-
-