public class GraphQLWsRequest
extends java.lang.Object
| Modifier and Type | Class and Description |
|---|---|
static class |
GraphQLWsRequest.ClientType
Types of messages received from the client.
|
| Constructor and Description |
|---|
GraphQLWsRequest() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getId()
Get the id.
|
GraphQLRequestBody |
getPayload()
Get the payload.
|
GraphQLWsRequest.ClientType |
getType()
Get the type.
|
void |
setId(java.lang.String id)
Sets the id.
|
void |
setPayload(GraphQLRequestBody payload)
Sets the payload.
|
void |
setType(java.lang.String type)
Sets the type.
|
public GraphQLWsRequest.ClientType getType()
public void setType(java.lang.String type)
type - the type as string@Nullable public java.lang.String getId()
public void setId(@Nullable
java.lang.String id)
id - the id@Nullable public GraphQLRequestBody getPayload()
public void setPayload(@Nullable
GraphQLRequestBody payload)
payload - the payload