Package-level declarations
Types
Link copied to clipboard
@Path(value = "/graphql" )
@Produces(value = ["application/json" ] )
Jersey Resource entry point to GraphQL execution. Configures the graphql schemas at injection time and then executes a GraphQLRequest specified query when requested.
Link copied to clipboard
@Path(value = "/graphql/stream" )
@Produces(value = ["application/json" ] )
Implements the graphql-sse protocol from https://github.com/enisdenjo/graphql-sse/blob/master/PROTOCOL.md Both "Single connection mode" and "Distinct connections mode" are supported at the /app/graphql/stream endpoint. "Distinct connections mode" will set a ContainerRequestContext on the GraphQLContext, however "Single connection mode" will not, as there are multiple requests involved in the execution of a query.
Link copied to clipboard
internal data class StreamInfo(val scope: CoroutineScope, val principal: Principal?, val eventSink: SseEventSink, val sse: Sse)
Connection level metadata for active streams to facilitate asynchronous processing