Package com.codename1.io.graphql


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.

  • Class
    Description
    High-level GraphQL-over-HTTP invoker used by generated @GraphQLClient implementations.
    Runtime registry that wires @GraphQLClient-annotated interfaces to the build-time-generated implementations.
    Factory the generated bootstrap registers per API interface.
    One entry from a GraphQL response errors array.
    Result of a GraphQL query or mutation.
    Handle for a live GraphQL subscription.
    Receives the events of one subscription.