Class GraphQLApolloWsRequest

java.lang.Object
io.micronaut.configuration.graphql.ws.apollo.GraphQLApolloWsRequest

@Deprecated(since="4.0") public class GraphQLApolloWsRequest extends Object
Deprecated.
The Apollo subscriptions-transport-ws protocol is deprecated and its usage should be replaced with the new graphql-ws implementation.
Class to handle the message to and from the websocket.
Since:
1.3
Author:
Gerard Klijs
  • Constructor Details

    • GraphQLApolloWsRequest

      public GraphQLApolloWsRequest()
      Deprecated.
  • Method Details

    • getType

      Deprecated.
      Get the type.
      Returns:
      the type of message as ClientType
    • setType

      public void setType(String type)
      Deprecated.
      Sets the type.
      Parameters:
      type - the type as string
    • getId

      @Nullable public @Nullable String getId()
      Deprecated.
      Get the id.
      Returns:
      id as string
    • setId

      public void setId(@Nullable @Nullable String id)
      Deprecated.
      Sets the id.
      Parameters:
      id - the id
    • getPayload

      @Nullable public @Nullable GraphQLRequestBody getPayload()
      Deprecated.
      Get the payload.
      Returns:
      payload as map, likely to contain a graphql query
    • setPayload

      public void setPayload(@Nullable @Nullable GraphQLRequestBody payload)
      Deprecated.
      Sets the payload.
      Parameters:
      payload - the payload