Class GraphQLHandler
java.lang.Object
io.vertx.rxjava3.ext.web.handler.graphql.GraphQLHandler
- All Implemented Interfaces:
Handler<RoutingContext>,RxDelegate
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic GraphQLHandlerBuilderbuilder(graphql.GraphQL graphQL) static GraphQLHandlercreate(graphql.GraphQL graphQL) Create a newGraphQLHandlerthat will use the providedgraphQLobject to execute queries.static GraphQLHandlercreate(graphql.GraphQL graphQL, GraphQLHandlerOptions options) Create a newGraphQLHandlerthat will use the providedgraphQLobject to execute queries.booleanvoidhandle(RoutingContext event) Something has happened, so handle it.inthashCode()static GraphQLHandlertoString()
-
Field Details
-
__TYPE_ARG
-
-
Constructor Details
-
GraphQLHandler
-
GraphQLHandler
-
-
Method Details
-
toString
-
equals
-
hashCode
public int hashCode() -
getDelegate
- Specified by:
getDelegatein interfaceRxDelegate
-
handle
Something has happened, so handle it.- Specified by:
handlein interfaceHandler<RoutingContext>- Parameters:
event- the event to handle
-
create
Create a newGraphQLHandlerthat will use the providedgraphQLobject to execute queries.The handler will be configured with default
GraphQLHandlerOptions.- Parameters:
graphQL-- Returns:
-
create
Create a newGraphQLHandlerthat will use the providedgraphQLobject to execute queries.The handler will be configured with the given
options.- Parameters:
graphQL-options- options for configuring theGraphQLHandler- Returns:
-
builder
Create a newGraphQLHandlerBuilderthat will use the providedgraphQLto build aGraphQLHandler.The handler will be configured with default
GraphQLHandlerOptions.- Parameters:
graphQL-- Returns:
-
newInstance
-