Interface GraphQLWSHandler
-
- All Superinterfaces:
Handler<RoutingContext>,ProtocolUpgradeHandler
public interface GraphQLWSHandler extends ProtocolUpgradeHandler
A handler for the GraphQL over WebSocket Protocol.
-
-
Method Summary
Static Methods Modifier and Type Method Description static GraphQLWSHandlerBuilderbuilder(graphql.GraphQL graphQL)Create a newGraphQLWSHandlerBuilderthat will use the providedgraphQLto build aGraphQLWSHandler.static GraphQLWSHandlercreate(graphql.GraphQL graphQL)Create a newGraphQLWSHandlerthat will use the providedgraphQLobject to execute requests.static GraphQLWSHandlercreate(graphql.GraphQL graphQL, GraphQLWSOptions options)Create a newGraphQLWSHandlerthat will use the providedgraphQLobject to execute requests.
-
-
-
Method Detail
-
create
static GraphQLWSHandler create(graphql.GraphQL graphQL)
Create a newGraphQLWSHandlerthat will use the providedgraphQLobject to execute requests.The handler will be configured with the default
GraphQLWSOptions.
-
create
static GraphQLWSHandler create(graphql.GraphQL graphQL, GraphQLWSOptions options)
Create a newGraphQLWSHandlerthat will use the providedgraphQLobject to execute requests.The handler will be configured with the given
options.- Parameters:
options- options for configuring theGraphQLWSOptions
-
builder
static GraphQLWSHandlerBuilder builder(graphql.GraphQL graphQL)
Create a newGraphQLWSHandlerBuilderthat will use the providedgraphQLto build aGraphQLWSHandler.
-
-