Enum GraphQLWsRequest.ClientType
- java.lang.Object
-
- java.lang.Enum<GraphQLWsRequest.ClientType>
-
- io.micronaut.configuration.graphql.ws.GraphQLWsRequest.ClientType
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<GraphQLWsRequest.ClientType>
- Enclosing class:
- GraphQLWsRequest
public static enum GraphQLWsRequest.ClientType extends java.lang.Enum<GraphQLWsRequest.ClientType>
Types of messages received from the client.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description GQL_CONNECTION_INITGQL_CONNECTION_TERMINATEGQL_STARTGQL_STOP
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetType()Get the type.static GraphQLWsRequest.ClientTypevalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static GraphQLWsRequest.ClientType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
GQL_CONNECTION_INIT
public static final GraphQLWsRequest.ClientType GQL_CONNECTION_INIT
-
GQL_START
public static final GraphQLWsRequest.ClientType GQL_START
-
GQL_STOP
public static final GraphQLWsRequest.ClientType GQL_STOP
-
GQL_CONNECTION_TERMINATE
public static final GraphQLWsRequest.ClientType GQL_CONNECTION_TERMINATE
-
-
Method Detail
-
values
public static GraphQLWsRequest.ClientType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (GraphQLWsRequest.ClientType c : GraphQLWsRequest.ClientType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static GraphQLWsRequest.ClientType valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
getType
public java.lang.String getType()
Get the type.- Returns:
- type as string
-
-