Class ApolloWSHandler
java.lang.Object
io.vertx.mutiny.ext.web.handler.graphql.ApolloWSHandler
- All Implemented Interfaces:
MutinyDelegate
,io.vertx.core.Handler<RoutingContext>
,ProtocolUpgradeHandler
,Consumer<RoutingContext>
@Deprecated
public class ApolloWSHandler
extends Object
implements MutinyDelegate, ProtocolUpgradeHandler, io.vertx.core.Handler<RoutingContext>, Consumer<RoutingContext>
Deprecated.
A handler for GraphQL requests sent over Apollo's
subscriptions-transport-ws
transport.
NOTE: This class has been automatically generated from the original
non Mutiny-ified interface using Vert.x codegen.-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionApolloWSHandler
(io.vertx.ext.web.handler.graphql.ApolloWSHandler delegate) Deprecated.ApolloWSHandler
(Object delegate) Deprecated. -
Method Summary
Modifier and TypeMethodDescriptionvoid
accept
(RoutingContext item) Deprecated.Deprecated.connectionHandler
(Consumer<ServerWebSocket> connectionHandler) Deprecated.connectionInitHandler
(Consumer<ApolloWSConnectionInitEvent> connectionInitHandler) Deprecated.static ApolloWSHandler
create
(graphql.GraphQL graphQL) Deprecated.static ApolloWSHandler
create
(graphql.GraphQL graphQL, io.vertx.ext.web.handler.graphql.ApolloWSOptions options) Deprecated.dataLoaderRegistry
(Function<ApolloWSMessage, org.dataloader.DataLoaderRegistry> factory) Deprecated.endHandler
(Consumer<ServerWebSocket> endHandler) Deprecated.boolean
Deprecated.io.vertx.ext.web.handler.graphql.ApolloWSHandler
Deprecated.static ApolloWSMessage
getMessage
(graphql.GraphQLContext graphQlContext) Deprecated.void
handle
(RoutingContext arg0) Deprecated.int
hashCode()
Deprecated.locale
(Function<ApolloWSMessage, Locale> factory) Deprecated.as of 4.2, use#beforeExecute(Handler)
insteadmessageHandler
(Consumer<ApolloWSMessage> messageHandler) Deprecated.static ApolloWSHandler
newInstance
(io.vertx.ext.web.handler.graphql.ApolloWSHandler arg) Deprecated.queryContext
(Function<ApolloWSMessage, Object> factory) Deprecated.as of 4.2, use#beforeExecute(Handler)
insteadtoString()
Deprecated.
-
Field Details
-
__TYPE_ARG
Deprecated.
-
-
Constructor Details
-
ApolloWSHandler
public ApolloWSHandler(io.vertx.ext.web.handler.graphql.ApolloWSHandler delegate) Deprecated. -
ApolloWSHandler
Deprecated.
-
-
Method Details
-
getDelegate
public io.vertx.ext.web.handler.graphql.ApolloWSHandler getDelegate()Deprecated.- Specified by:
getDelegate
in interfaceMutinyDelegate
- Specified by:
getDelegate
in interfaceProtocolUpgradeHandler
- Returns:
- the delegate used by this Mutiny object of generated type
-
toString
Deprecated. -
equals
Deprecated. -
hashCode
public int hashCode()Deprecated. -
handle
Deprecated.- Specified by:
handle
in interfaceio.vertx.core.Handler<RoutingContext>
- Specified by:
handle
in interfaceProtocolUpgradeHandler
-
connectionHandler
Deprecated.- Parameters:
connectionHandler
-- Returns:
-
connectionInitHandler
@Deprecated public ApolloWSHandler connectionInitHandler(Consumer<ApolloWSConnectionInitEvent> connectionInitHandler) Deprecated.- Parameters:
connectionInitHandler
-- Returns:
-
messageHandler
Deprecated.- Parameters:
messageHandler
-- Returns:
-
endHandler
Deprecated.- Parameters:
endHandler
-- Returns:
-
queryContext
Deprecated.as of 4.2, use#beforeExecute(Handler)
instead- Parameters:
factory
-- Returns:
- a reference to this, so the API can be used fluently
-
beforeExecute
@Deprecated public ApolloWSHandler beforeExecute(Consumer<ExecutionInputBuilderWithContext<ApolloWSMessage>> config) Deprecated.- Parameters:
config
- the callback to invoke- Returns:
-
create
Deprecated.- Parameters:
graphQL
-- Returns:
-
create
@Deprecated public static ApolloWSHandler create(graphql.GraphQL graphQL, io.vertx.ext.web.handler.graphql.ApolloWSOptions options) Deprecated.- Parameters:
graphQL
-options
- options for configuring theApolloWSOptions
- Returns:
-
getMessage
Deprecated.- Parameters:
graphQlContext
- the GraphQL context object- Returns:
- the
ApolloWSMessage
-
dataLoaderRegistry
@Deprecated public ApolloWSHandler dataLoaderRegistry(Function<ApolloWSMessage, org.dataloader.DataLoaderRegistry> factory) Deprecated.as of 4.2, use#beforeExecute(Handler)
instead- Parameters:
factory
-- Returns:
- a reference to this, so the API can be used fluently
-
locale
Deprecated.as of 4.2, use#beforeExecute(Handler)
instead- Parameters:
factory
-- Returns:
- a reference to this, so the API can be used fluently
-
accept
Deprecated.- Specified by:
accept
in interfaceConsumer<RoutingContext>
- Specified by:
accept
in interfaceProtocolUpgradeHandler
-
newInstance
Deprecated.
-
#beforeExecute(Handler)
instead