io.smallrye.graphql.client.Request 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;
import java.util.Map;
import jakarta.json.JsonObject;
public interface Request {
String getDocument();
Map getVariables();
void setVariables(Map variables);
Object getVariable(String key);
Request setVariable(String key, Object value);
Request resetVariables();
String toJson();
JsonObject toJsonObject();
}