Class RdfPubClientAnonymousDefault
java.lang.Object
org.linkedopenactors.rdfpub.client.RdfPubClientAbstract
org.linkedopenactors.rdfpub.client.RdfPubClientAnonymousDefault
- All Implemented Interfaces:
RdfPubClientAnonymous
public class RdfPubClientAnonymousDefault
extends RdfPubClientAbstract
implements RdfPubClientAnonymous
Default implementation of
RdfPubClient.- Author:
- SofwareEngineering Hauschel
-
Field Summary
Fields inherited from class org.linkedopenactors.rdfpub.client.RdfPubClientAbstract
MEDIA_TYPE_JSON_LD, webClient -
Constructor Summary
ConstructorsConstructorDescriptionRdfPubClientAnonymousDefault(org.eclipse.rdf4j.model.IRI rdfPubServerActorIri, org.springframework.web.reactive.function.client.WebClient webClient) -
Method Summary
Methods inherited from class org.linkedopenactors.rdfpub.client.RdfPubClientAbstract
getSparqlRepository, getSparqlRepository, getStatementsPublic, httpGetApString, httpGetApStringMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.linkedopenactors.rdfpub.client.RdfPubClientAnonymous
getStatementsPublic
-
Constructor Details
-
RdfPubClientAnonymousDefault
public RdfPubClientAnonymousDefault(org.eclipse.rdf4j.model.IRI rdfPubServerActorIri, org.springframework.web.reactive.function.client.WebClient webClient) - Parameters:
rdfPubServerActorIri- The iri/url of the server actor. Used to get the public sparql endpointwebClient- The webclient to use for http communication.
-
-
Method Details
-
read
public Optional<org.eclipse.rdf4j.model.Model> read(org.eclipse.rdf4j.model.IRI idOfTheResourceToRead) - Specified by:
readin interfaceRdfPubClientAnonymous- Overrides:
readin classRdfPubClientAbstract
-