Enum Class StreamingState
- All Implemented Interfaces:
Serializable,Comparable<StreamingState>,Constable
Derived streaming connection state.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionStreaming is configured, supported, and connected.Streaming is not configured.Streaming is configured but not yet fully connected or classified.Streaming was connected/supported and is currently reconnecting.Client resources have been shut down.Streaming is configured but the server did not allow SSE. -
Method Summary
Modifier and TypeMethodDescriptionstatic StreamingStateReturns the enum constant of this class with the specified name.static StreamingState[]values()Returns an array containing the constants of this enum class, in the order they are declared.Methods inherited from class java.lang.Enum
compareTo, describeConstable, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
-
Enum Constant Details
-
DISABLED
Streaming is not configured. -
SHUTDOWN
Client resources have been shut down. -
INITIALIZING
Streaming is configured but not yet fully connected or classified. -
CONNECTED
Streaming is configured, supported, and connected. -
INTERRUPTED
Streaming was connected/supported and is currently reconnecting. -
UNSUPPORTED
Streaming is configured but the server did not allow SSE.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException- if the argument is null
-