Enum HttpGremlinEndpointHandler.RequestState
- java.lang.Object
-
- java.lang.Enum<HttpGremlinEndpointHandler.RequestState>
-
- org.apache.tinkerpop.gremlin.server.handler.HttpGremlinEndpointHandler.RequestState
-
- All Implemented Interfaces:
Serializable
,Comparable<HttpGremlinEndpointHandler.RequestState>
- Enclosing class:
- HttpGremlinEndpointHandler
public static enum HttpGremlinEndpointHandler.RequestState extends Enum<HttpGremlinEndpointHandler.RequestState>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ERROR
FINISHED
FINISHING
NOT_STARTED
STREAMING
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static HttpGremlinEndpointHandler.RequestState
valueOf(String name)
Returns the enum constant of this type with the specified name.static HttpGremlinEndpointHandler.RequestState[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NOT_STARTED
public static final HttpGremlinEndpointHandler.RequestState NOT_STARTED
-
STREAMING
public static final HttpGremlinEndpointHandler.RequestState STREAMING
-
FINISHING
public static final HttpGremlinEndpointHandler.RequestState FINISHING
-
FINISHED
public static final HttpGremlinEndpointHandler.RequestState FINISHED
-
ERROR
public static final HttpGremlinEndpointHandler.RequestState ERROR
-
-
Method Detail
-
values
public static HttpGremlinEndpointHandler.RequestState[] 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 (HttpGremlinEndpointHandler.RequestState c : HttpGremlinEndpointHandler.RequestState.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static HttpGremlinEndpointHandler.RequestState valueOf(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:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
-