Modifier and Type | Method and Description |
---|---|
ApolloWSHandler |
ApolloWSHandler.connectionHandler(io.vertx.core.Handler<io.vertx.core.http.ServerWebSocket> connectionHandler)
Customize the connection
Handler . |
static ApolloWSHandler |
ApolloWSHandler.create(graphql.GraphQL graphQL)
Create a new
ApolloWSHandler that will use the provided graphQL object to execute requests. |
static ApolloWSHandler |
ApolloWSHandler.create(graphql.GraphQL graphQL,
ApolloWSOptions options)
Create a new
ApolloWSHandler that will use the provided graphQL object to execute requests. |
ApolloWSHandler |
ApolloWSHandler.dataLoaderRegistry(Function<ApolloWSMessage,org.dataloader.DataLoaderRegistry> factory)
Customize the
DataLoaderRegistry . |
ApolloWSHandler |
ApolloWSHandler.endHandler(io.vertx.core.Handler<io.vertx.core.http.ServerWebSocket> endHandler)
Customize the end
Handler . |
ApolloWSHandler |
ApolloWSHandler.locale(Function<ApolloWSMessage,Locale> factory)
Customize the
Locale passed to the GraphQL execution engine. |
ApolloWSHandler |
ApolloWSHandler.messageHandler(io.vertx.core.Handler<ApolloWSMessage> messageHandler)
Customize the message
Handler . |
ApolloWSHandler |
ApolloWSHandler.queryContext(Function<ApolloWSMessage,Object> factory)
Customize the query context object.
|
Copyright © 2021 Eclipse. All rights reserved.