public static enum ApolloSubscriptionProtocolHandler.OperationMessage.Type extends java.lang.Enum<ApolloSubscriptionProtocolHandler.OperationMessage.Type>
Enum Constant and Description |
---|
GQL_COMPLETE |
GQL_CONNECTION_ACK |
GQL_CONNECTION_ERROR |
GQL_CONNECTION_INIT |
GQL_CONNECTION_KEEP_ALIVE |
GQL_CONNECTION_TERMINATE |
GQL_DATA |
GQL_ERROR |
GQL_START |
GQL_STOP |
Modifier and Type | Method and Description |
---|---|
static ApolloSubscriptionProtocolHandler.OperationMessage.Type |
findType(java.lang.String type) |
java.lang.String |
getType() |
static ApolloSubscriptionProtocolHandler.OperationMessage.Type |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ApolloSubscriptionProtocolHandler.OperationMessage.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ApolloSubscriptionProtocolHandler.OperationMessage.Type GQL_CONNECTION_ACK
public static final ApolloSubscriptionProtocolHandler.OperationMessage.Type GQL_CONNECTION_ERROR
public static final ApolloSubscriptionProtocolHandler.OperationMessage.Type GQL_CONNECTION_KEEP_ALIVE
public static final ApolloSubscriptionProtocolHandler.OperationMessage.Type GQL_DATA
public static final ApolloSubscriptionProtocolHandler.OperationMessage.Type GQL_ERROR
public static final ApolloSubscriptionProtocolHandler.OperationMessage.Type GQL_COMPLETE
public static final ApolloSubscriptionProtocolHandler.OperationMessage.Type GQL_CONNECTION_INIT
public static final ApolloSubscriptionProtocolHandler.OperationMessage.Type GQL_CONNECTION_TERMINATE
public static final ApolloSubscriptionProtocolHandler.OperationMessage.Type GQL_START
public static final ApolloSubscriptionProtocolHandler.OperationMessage.Type GQL_STOP
public static ApolloSubscriptionProtocolHandler.OperationMessage.Type[] values()
for (ApolloSubscriptionProtocolHandler.OperationMessage.Type c : ApolloSubscriptionProtocolHandler.OperationMessage.Type.values()) System.out.println(c);
public static ApolloSubscriptionProtocolHandler.OperationMessage.Type valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic static ApolloSubscriptionProtocolHandler.OperationMessage.Type findType(java.lang.String type)
public java.lang.String getType()