Interface RdfPubClientWebFlux
- All Known Implementing Classes:
RdfPubClientWebFluxDefault
public interface RdfPubClientWebFlux
The interface that describes the convinience methods for accessing a activity-pub client (C2S).
- Author:
- SofwareEngineering Hauschel
-
Method Summary
Modifier and TypeMethodDescriptionreactor.core.publisher.Mono<org.eclipse.rdf4j.model.IRI>reactor.core.publisher.Mono<ActorProfile>reactor.core.publisher.Mono<RdfPubServerProfile>reactor.core.publisher.Mono<org.eclipse.rdf4j.model.IRI>postActivity(org.eclipse.rdf4j.model.Model activity, String token) Posts a new activity to the usres outbox.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) reactor.core.publisher.Flux<org.eclipse.rdf4j.query.BindingSet>tupleQueryInbox(String query, String authToken) reactor.core.publisher.Flux<org.eclipse.rdf4j.query.BindingSet>tupleQueryOutbox(String query, String authToken)
-
Method Details
-
getActorId
reactor.core.publisher.Mono<org.eclipse.rdf4j.model.IRI> getActorId() -
getCurrentActorProfile
reactor.core.publisher.Mono<ActorProfile> getCurrentActorProfile() -
getServerProfile
reactor.core.publisher.Mono<RdfPubServerProfile> getServerProfile() -
read
reactor.core.publisher.Mono<org.eclipse.rdf4j.model.Model> read(org.eclipse.rdf4j.model.IRI idOfTheResourceToRead) -
tupleQueryAsPublic
-
tupleQueryOutbox
-
tupleQueryInbox
-
postActivity
reactor.core.publisher.Mono<org.eclipse.rdf4j.model.IRI> postActivity(org.eclipse.rdf4j.model.Model activity, String token) Posts a new activity to the usres outbox.- Parameters:
activity- the model of the new activity to post.token- The Oauth2 accessToken to use.- Returns:
- the id of the newly created activity.
-