-
- All Implemented Interfaces:
public final class ApolloSubscriptionProtocolHandler
Implementation of the
graphql-ws
protocol defined by Apollo https://github.com/apollographql/subscriptions-transport-ws/blob/master/PROTOCOL.md
-
-
Constructor Summary
Constructors Constructor Description ApolloSubscriptionProtocolHandler(GraphQLConfigurationProperties config, SpringSubscriptionGraphQLContextFactory contextFactory, SpringGraphQLSubscriptionHandler subscriptionHandler, ObjectMapper objectMapper, ApolloSubscriptionHooks subscriptionHooks)
-
Method Summary
Modifier and Type Method Description final Flux<SubscriptionOperationMessage>
handle(String payload, WebSocketSession session)
-
-
Constructor Detail
-
ApolloSubscriptionProtocolHandler
ApolloSubscriptionProtocolHandler(GraphQLConfigurationProperties config, SpringSubscriptionGraphQLContextFactory contextFactory, SpringGraphQLSubscriptionHandler subscriptionHandler, ObjectMapper objectMapper, ApolloSubscriptionHooks subscriptionHooks)
-
-
Method Detail
-
handle
final Flux<SubscriptionOperationMessage> handle(String payload, WebSocketSession session)
-
-
-
-