package com.codename1.io.graphql
GraphQL client runtime. GraphQL sends queries and mutations over
HTTP POST and parses the {"data":...,"errors":[...]} envelope;
GraphQLResponse is the typed result wrapper (data and errors can
co-exist as a partial result); GraphQLError is one entry of the
errors array; GraphQLSubscription streams subscription payloads
over a WebSocket; GraphQLClients is the per-@GraphQLClient
factory registry that the build-time-generated
cn1app.GraphQLClientBootstrap populates.
End-to-end usage is documented on
com.codename1.annotations.graphql – the user-facing entry point
is the generated <Name>.of(endpoint) factory rather than any
class in this package directly.
Types
class GraphQL | High-level GraphQL-over-HTTP invoker used by generated @GraphQLClient implementations. |
class GraphQLClients | Runtime registry that wires @GraphQLClient-annotated interfaces to the build-time-generated implementations. |
class GraphQLError | One entry from a GraphQL response errors array. |
class GraphQLResponse | Result of a GraphQL query or mutation. |
class GraphQLSubscription | Handle for a live GraphQL subscription. |