io.smallrye.graphql.client.dynamic.api.DynamicGraphQLClient Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of smallrye-graphql-client-api Show documentation
Show all versions of smallrye-graphql-client-api Show documentation
SmallRye specific Client API, extending the MicroProfile client api, allowing us to play with the api first before we move it to the spec
package io.smallrye.graphql.client.dynamic.api;
import java.util.Map;
import java.util.concurrent.ExecutionException;
import io.smallrye.graphql.client.Request;
import io.smallrye.graphql.client.Response;
import io.smallrye.graphql.client.core.Document;
import io.smallrye.mutiny.Multi;
import io.smallrye.mutiny.Uni;
public interface DynamicGraphQLClient extends AutoCloseable {
Response executeSync(Document document) throws ExecutionException, InterruptedException;
Response executeSync(Document document, Map variables) throws ExecutionException, InterruptedException;
Response executeSync(Document document, String operationName) throws ExecutionException, InterruptedException;
Response executeSync(Document document, Map variables, String operationName)
throws ExecutionException, InterruptedException;
Response executeSync(Request request) throws ExecutionException, InterruptedException;
Response executeSync(String query) throws ExecutionException, InterruptedException;
Response executeSync(String query, Map variables) throws ExecutionException, InterruptedException;
Response executeSync(String query, String operationName) throws ExecutionException, InterruptedException;
Response executeSync(String query, Map variables, String operationName)
throws ExecutionException, InterruptedException;
Uni executeAsync(Document document);
Uni executeAsync(Document document, Map variables);
Uni executeAsync(Document document, String operationName);
Uni executeAsync(Document document, Map variables, String operationName);
Uni executeAsync(Request request);
Uni executeAsync(String query);
Uni executeAsync(String query, Map variables);
Uni executeAsync(String query, String operationName);
Uni executeAsync(String query, Map variables, String operationName);
Multi subscription(Document document);
Multi subscription(Document document, Map variables);
Multi subscription(Document document, String operationName);
Multi subscription(Document document, Map variables, String operationName);
Multi subscription(Request request);
Multi subscription(String query);
Multi subscription(String query, Map variables);
Multi subscription(String query, String operationName);
Multi subscription(String query, Map variables, String operationName);
}