Class RdfPubClientWebFluxAnonymousDefault
java.lang.Object
org.linkedopenactors.rdfpub.client.RdfPubClientWebFluxAnonymousDefault
- All Implemented Interfaces:
RdfPubClientAnonymousWebFlux
public class RdfPubClientWebFluxAnonymousDefault
extends Object
implements RdfPubClientAnonymousWebFlux
Default implementation of
RdfPubClient
.- Author:
- SofwareEngineering Hauschel
-
Constructor Summary
ConstructorDescriptionRdfPubClientWebFluxAnonymousDefault
(String rdfPubServerUrl, org.springframework.web.reactive.function.client.WebClient webClient) -
Method Summary
Modifier and TypeMethodDescriptionreactor.core.publisher.Mono
<RdfPubServerProfile> org.eclipse.rdf4j.repository.sparql.SPARQLRepository
getSparqlRepository2
(org.eclipse.rdf4j.model.IRI sparqlEndpointMono) org.eclipse.rdf4j.repository.sparql.SPARQLRepository
getSparqlRepository2
(org.eclipse.rdf4j.model.IRI sparqlEndpoint, String token) reactor.core.publisher.Mono
<org.eclipse.rdf4j.model.Model> read
(org.eclipse.rdf4j.model.IRI idOfTheResourceToRead) reactor.core.publisher.Flux
<org.eclipse.rdf4j.query.BindingSet> tupleQueryAsPublic
(String query)
-
Constructor Details
-
RdfPubClientWebFluxAnonymousDefault
public RdfPubClientWebFluxAnonymousDefault(String rdfPubServerUrl, org.springframework.web.reactive.function.client.WebClient webClient) - Parameters:
rdfPubServerUrl
- rdfPubServerUrlwebClient
- The webclient to use for http communication.
-
-
Method Details
-
getServerProfile
- Specified by:
getServerProfile
in interfaceRdfPubClientAnonymousWebFlux
-
read
public reactor.core.publisher.Mono<org.eclipse.rdf4j.model.Model> read(org.eclipse.rdf4j.model.IRI idOfTheResourceToRead) - Specified by:
read
in interfaceRdfPubClientAnonymousWebFlux
-
tupleQueryAsPublic
public reactor.core.publisher.Flux<org.eclipse.rdf4j.query.BindingSet> tupleQueryAsPublic(String query) - Specified by:
tupleQueryAsPublic
in interfaceRdfPubClientAnonymousWebFlux
-
getSparqlRepository2
public org.eclipse.rdf4j.repository.sparql.SPARQLRepository getSparqlRepository2(org.eclipse.rdf4j.model.IRI sparqlEndpointMono) -
getSparqlRepository2
public org.eclipse.rdf4j.repository.sparql.SPARQLRepository getSparqlRepository2(org.eclipse.rdf4j.model.IRI sparqlEndpoint, String token)
-