Class ExternalObjectRepositoryDefault
java.lang.Object
org.linkedopenactors.rdfpub.adapter.driven.ExternalObjectRepositoryDefault
- All Implemented Interfaces:
ExternalObjectRepository
@Service
public class ExternalObjectRepositoryDefault
extends Object
implements ExternalObjectRepository
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionOptional
<org.linkedopenactors.rdfpub.domain.commonsrdf.ActivityPubObject> read
(org.apache.commons.rdf.api.IRI subject) Optional
<org.linkedopenactors.rdfpub.domain.commonsrdf.ActivityPubObject> readWithSignature
(String url, org.linkedopenactors.rdfpub.domain.commonsrdf.Actor currentAuthenticatedActor)
-
Constructor Details
-
ExternalObjectRepositoryDefault
public ExternalObjectRepositoryDefault()
-
-
Method Details
-
read
public Optional<org.linkedopenactors.rdfpub.domain.commonsrdf.ActivityPubObject> read(org.apache.commons.rdf.api.IRI subject) - Specified by:
read
in interfaceExternalObjectRepository
-
readWithSignature
public Optional<org.linkedopenactors.rdfpub.domain.commonsrdf.ActivityPubObject> readWithSignature(String url, org.linkedopenactors.rdfpub.domain.commonsrdf.Actor currentAuthenticatedActor) - Specified by:
readWithSignature
in interfaceExternalObjectRepository
-