Class SmallRyeGraphQLAbstractHandler

java.lang.Object
io.quarkus.smallrye.graphql.runtime.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 Summary

    Fields
    Modifier and Type
    Field
    Description
    protected static final jakarta.json.JsonReaderFactory
     
  • Constructor Summary

    Constructors
    Constructor
    Description
    SmallRyeGraphQLAbstractHandler(io.quarkus.security.identity.CurrentIdentityAssociation currentIdentityAssociation, io.quarkus.vertx.http.runtime.CurrentVertxRequest currentVertxRequest, boolean runBlocking)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected abstract void
    doHandle(io.vertx.ext.web.RoutingContext ctx)
     
    protected io.smallrye.graphql.execution.ExecutionService
     
    protected Map<String,Object>
    getMetaData(io.vertx.ext.web.RoutingContext ctx)
     
    void
    handle(io.vertx.ext.web.RoutingContext ctx)
     
    protected jakarta.json.JsonObject
     
    (package private) void
    withIdentity(io.vertx.ext.web.RoutingContext ctx)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • jsonReaderFactory

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

    • SmallRyeGraphQLAbstractHandler

      public SmallRyeGraphQLAbstractHandler(io.quarkus.security.identity.CurrentIdentityAssociation currentIdentityAssociation, io.quarkus.vertx.http.runtime.CurrentVertxRequest currentVertxRequest, boolean runBlocking)
  • Method Details

    • handle

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

      void withIdentity(io.vertx.ext.web.RoutingContext ctx)
    • 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)