Class GraphQLApolloWsMessageHandler
java.lang.Object
io.micronaut.configuration.graphql.ws.apollo.GraphQLApolloWsMessageHandler
Deprecated.
The Apollo subscriptions-transport-ws protocol is deprecated and its usage should be replaced with the new graphql-ws implementation.
Handles the messages send over the websocket.
- Since:
 - 1.3
 - Author:
 - Gerard Klijs
 
- 
Constructor Summary
ConstructorsConstructorDescriptionGraphQLApolloWsMessageHandler(GraphQLApolloWsConfiguration graphQLApolloWsConfiguration, io.micronaut.configuration.graphql.ws.apollo.GraphQLApolloWsState state, GraphQLInvocation graphQLInvocation, GraphQLExecutionResultHandler graphQLExecutionResultHandler, GraphQLApolloWsSender responseSender) Deprecated.Default constructor. - 
Method Summary
Modifier and TypeMethodDescriptionorg.reactivestreams.Publisher<GraphQLApolloWsResponse>handleMessage(GraphQLApolloWsRequest request, io.micronaut.websocket.WebSocketSession session) Deprecated.Handles the request possibly invocating graphql. 
- 
Constructor Details
- 
GraphQLApolloWsMessageHandler
public GraphQLApolloWsMessageHandler(GraphQLApolloWsConfiguration graphQLApolloWsConfiguration, io.micronaut.configuration.graphql.ws.apollo.GraphQLApolloWsState state, GraphQLInvocation graphQLInvocation, GraphQLExecutionResultHandler graphQLExecutionResultHandler, GraphQLApolloWsSender responseSender) Deprecated.Default constructor.- Parameters:
 graphQLApolloWsConfiguration- theGraphQLApolloWsConfigurationinstancestate- theGraphQLApolloWsStateinstancegraphQLInvocation- theGraphQLInvocationinstancegraphQLExecutionResultHandler- theGraphQLExecutionResultHandlerinstanceresponseSender- theGraphQLApolloWsSenderinstance
 
 - 
 - 
Method Details
- 
handleMessage
public org.reactivestreams.Publisher<GraphQLApolloWsResponse> handleMessage(GraphQLApolloWsRequest request, io.micronaut.websocket.WebSocketSession session) Deprecated.Handles the request possibly invocating graphql.- Parameters:
 request- Message from clientsession- WebSocketSession- Returns:
 Publisher<GraphQLApolloWsResponse>
 
 -