Class GraphQLApolloWsRequest
java.lang.Object
io.micronaut.configuration.graphql.ws.apollo.GraphQLApolloWsRequest
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
 
- 
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumDeprecated.Types of messages received from the client. - 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescription@Nullable StringgetId()Deprecated.Get the id.@Nullable GraphQLRequestBodyDeprecated.Get the payload.getType()Deprecated.Get the type.voidDeprecated.Sets the id.voidsetPayload(@Nullable GraphQLRequestBody payload) Deprecated.Sets the payload.voidDeprecated.Sets the type. 
- 
Constructor Details
- 
GraphQLApolloWsRequest
public GraphQLApolloWsRequest()Deprecated. 
 - 
 - 
Method Details
- 
getType
Deprecated.Get the type.- Returns:
 - the type of message as ClientType
 
 - 
setType
Deprecated.Sets the type.- Parameters:
 type- the type as string
 - 
getId
Deprecated.Get the id.- Returns:
 - id as string
 
 - 
setId
Deprecated.Sets the id.- Parameters:
 id- the id
 - 
getPayload
Deprecated.Get the payload.- Returns:
 - payload as map, likely to contain a graphql query
 
 - 
setPayload
Deprecated.Sets the payload.- Parameters:
 payload- the payload
 
 -