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
FieldsModifier and TypeFieldDescriptionprotected static final jakarta.json.JsonReaderFactory -
Constructor Summary
ConstructorsConstructorDescriptionSmallRyeGraphQLAbstractHandler(io.quarkus.security.identity.CurrentIdentityAssociation currentIdentityAssociation, CurrentVertxRequest currentVertxRequest, boolean runBlocking) -
Method Summary
Modifier and TypeMethodDescriptionprotected abstract voiddoHandle(io.vertx.ext.web.RoutingContext ctx) protected io.smallrye.graphql.execution.ExecutionServicegetMetaData(io.vertx.ext.web.RoutingContext ctx) voidhandle(io.vertx.ext.web.RoutingContext ctx) protected jakarta.json.JsonObjectinputToJsonObject(String input)
-
Field Details
-
jsonReaderFactory
protected static final jakarta.json.JsonReaderFactory jsonReaderFactory
-
-
Constructor Details
-
SmallRyeGraphQLAbstractHandler
public SmallRyeGraphQLAbstractHandler(io.quarkus.security.identity.CurrentIdentityAssociation currentIdentityAssociation, CurrentVertxRequest currentVertxRequest, boolean runBlocking)
-
-
Method Details
-
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
-
getExecutionService
protected io.smallrye.graphql.execution.ExecutionService getExecutionService() -
getMetaData
-