Enum GraphQLReactiveWebSocketHandler.MessageType
- java.lang.Object
-
- java.lang.Enum<GraphQLReactiveWebSocketHandler.MessageType>
-
- com.graphql_java_generator.client.GraphQLReactiveWebSocketHandler.MessageType
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<GraphQLReactiveWebSocketHandler.MessageType>
- Enclosing class:
- GraphQLReactiveWebSocketHandler
public static enum GraphQLReactiveWebSocketHandler.MessageType extends java.lang.Enum<GraphQLReactiveWebSocketHandler.MessageType>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description COMPLETECONNECTION_ACKCONNECTION_INITERRORNEXTSTARTSUBSCRIBE
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetType()static GraphQLReactiveWebSocketHandler.MessageTyperesolve(java.lang.String type)static GraphQLReactiveWebSocketHandler.MessageTypevalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static GraphQLReactiveWebSocketHandler.MessageType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
CONNECTION_INIT
public static final GraphQLReactiveWebSocketHandler.MessageType CONNECTION_INIT
-
CONNECTION_ACK
public static final GraphQLReactiveWebSocketHandler.MessageType CONNECTION_ACK
-
SUBSCRIBE
public static final GraphQLReactiveWebSocketHandler.MessageType SUBSCRIBE
-
NEXT
public static final GraphQLReactiveWebSocketHandler.MessageType NEXT
-
ERROR
public static final GraphQLReactiveWebSocketHandler.MessageType ERROR
-
COMPLETE
public static final GraphQLReactiveWebSocketHandler.MessageType COMPLETE
-
START
public static final GraphQLReactiveWebSocketHandler.MessageType START
-
-
Method Detail
-
values
public static GraphQLReactiveWebSocketHandler.MessageType[] 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 (GraphQLReactiveWebSocketHandler.MessageType c : GraphQLReactiveWebSocketHandler.MessageType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static GraphQLReactiveWebSocketHandler.MessageType 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()
-
resolve
@Nullable public static GraphQLReactiveWebSocketHandler.MessageType resolve(@Nullable java.lang.String type)
-
-