Class SmallRyeGraphQLAbstractHandler

  • All Implemented Interfaces:
    io.vertx.core.Handler<io.vertx.ext.web.RoutingContext>
    Direct Known Subclasses:
    SmallRyeGraphQLExecutionHandler, SmallRyeGraphQLOverWebSocketHandler

    public abstract class SmallRyeGraphQLAbstractHandler
    extends Object
    implements io.vertx.core.Handler<io.vertx.ext.web.RoutingContext>
    Handler that does the execution of GraphQL Requests
    • Field Detail

      • jsonReaderFactory

        protected static final jakarta.json.JsonReaderFactory jsonReaderFactory
    • Constructor Detail

      • SmallRyeGraphQLAbstractHandler

        public SmallRyeGraphQLAbstractHandler​(io.quarkus.security.identity.CurrentIdentityAssociation currentIdentityAssociation,
                                              CurrentVertxRequest currentVertxRequest,
                                              boolean runBlocking)
    • Method Detail

      • handle

        public void handle​(io.vertx.ext.web.RoutingContext ctx)
        Specified by:
        handle in interface io.vertx.core.Handler<io.vertx.ext.web.RoutingContext>
      • doHandle

        protected abstract void doHandle​(io.vertx.ext.web.RoutingContext ctx)
      • inputToJsonObject

        protected jakarta.json.JsonObject inputToJsonObject​(String input)
      • getExecutionService

        protected io.smallrye.graphql.execution.ExecutionService getExecutionService()
      • getMetaData

        protected Map<String,​Object> getMetaData​(io.vertx.ext.web.RoutingContext ctx)