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 jakarta.json.JsonReaderFactoryjsonReaderFactory
-
Constructor Summary
Constructors Constructor Description SmallRyeGraphQLAbstractHandler(io.quarkus.security.identity.CurrentIdentityAssociation currentIdentityAssociation, CurrentVertxRequest currentVertxRequest, boolean runBlocking)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected abstract voiddoHandle(io.vertx.ext.web.RoutingContext ctx)protected io.smallrye.graphql.execution.ExecutionServicegetExecutionService()protected Map<String,Object>getMetaData(io.vertx.ext.web.RoutingContext ctx)voidhandle(io.vertx.ext.web.RoutingContext ctx)protected jakarta.json.JsonObjectinputToJsonObject(String input)
-
-
-
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:
handlein interfaceio.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()
-
-