All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.smallrye.graphql.client.dynamic.api.DynamicGraphQLClient Maven / Gradle / Ivy

Go to download

SmallRye specific Client API, extending the MicroProfile client api, allowing us to play with the api first before we move it to the spec

There is a newer version: 2.11.0
Show newest version
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);

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy