public class ApolloWSHandler extends Object implements ProtocolUpgradeHandler, Handler<RoutingContext>
subscriptions-transport-ws
transport.
NOTE: This class has been automatically generated from the original
non RX-ified interface using Vert.x codegen.Modifier and Type | Field and Description |
---|---|
static io.vertx.lang.rx.TypeArg<ApolloWSHandler> |
__TYPE_ARG |
Constructor and Description |
---|
ApolloWSHandler(ApolloWSHandler delegate) |
ApolloWSHandler(Object delegate) |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
newInstance
public static final io.vertx.lang.rx.TypeArg<ApolloWSHandler> __TYPE_ARG
public ApolloWSHandler(ApolloWSHandler delegate)
public ApolloWSHandler(Object delegate)
public ApolloWSHandler getDelegate()
getDelegate
in interface ProtocolUpgradeHandler
@Deprecated public void handle(RoutingContext event)
handle
in interface Handler<RoutingContext>
handle
in interface ProtocolUpgradeHandler
event
- the event to handle@Deprecated public ApolloWSHandler connectionHandler(Handler<ServerWebSocket> connectionHandler)
connectionHandler
- @Deprecated public ApolloWSHandler connectionInitHandler(Handler<ApolloWSConnectionInitEvent> connectionInitHandler)
connectionInitHandler
- @Deprecated public ApolloWSHandler messageHandler(Handler<ApolloWSMessage> messageHandler)
ApolloWSMessage
received.messageHandler
- @Deprecated public ApolloWSHandler endHandler(Handler<ServerWebSocket> endHandler)
endHandler
- @Deprecated public ApolloWSHandler queryContext(java.util.function.Function<ApolloWSMessage,Object> factory)
factory
method will be invoked for each incoming GraphQL request.factory
- @Deprecated public ApolloWSHandler beforeExecute(Handler<ExecutionInputBuilderWithContext<ApolloWSMessage>> config)
config
- the callback to invoke@Deprecated public static ApolloWSHandler create(graphql.GraphQL graphQL)
ApolloWSHandler
that will use the provided graphQL
object to execute requests.
The handler will be configured with the default ApolloWSOptions
.
graphQL
- @Deprecated public static ApolloWSHandler create(graphql.GraphQL graphQL, ApolloWSOptions options)
ApolloWSHandler
that will use the provided graphQL
object to execute requests.
The handler will be configured with the given options
.
graphQL
- options
- options for configuring the ApolloWSOptions
@Deprecated public static ApolloWSMessage getMessage(graphql.GraphQLContext graphQlContext)
ApolloWSMessage
from the .graphQlContext
- the GraphQL context objectApolloWSMessage
@Deprecated public ApolloWSHandler dataLoaderRegistry(java.util.function.Function<ApolloWSMessage,org.dataloader.DataLoaderRegistry> factory)
factory
method will be invoked for each incoming GraphQL request.factory
- @Deprecated public ApolloWSHandler locale(java.util.function.Function<ApolloWSMessage,Locale> factory)
factory
method will be invoked for each incoming GraphQL request.factory
- public static ApolloWSHandler newInstance(ApolloWSHandler arg)
Copyright © 2023 Eclipse. All rights reserved.