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 GraphQLWSHandlerBuilder
builder(graphql.GraphQL graphQL)
Create a newGraphQLWSHandlerBuilder
that will use the providedgraphQL
to build aGraphQLWSHandler
.static GraphQLWSHandler
create(graphql.GraphQL graphQL)
Create a newGraphQLWSHandler
that will use the providedgraphQL
object to execute requests.static GraphQLWSHandler
create(graphql.GraphQL graphQL, GraphQLWSOptions options)
Create a newGraphQLWSHandler
that will use the providedgraphQL
object to execute requests.
-
-
-
Method Detail
-
create
static GraphQLWSHandler create(graphql.GraphQL graphQL)
Create a newGraphQLWSHandler
that will use the providedgraphQL
object to execute requests.The handler will be configured with the default
GraphQLWSOptions
.
-
create
static GraphQLWSHandler create(graphql.GraphQL graphQL, GraphQLWSOptions options)
Create a newGraphQLWSHandler
that will use the providedgraphQL
object 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 newGraphQLWSHandlerBuilder
that will use the providedgraphQL
to build aGraphQLWSHandler
.
-
-