Package org.glassfish.tyrus.spi
Enum Class ClientEngine.ClientUpgradeStatus
java.lang.Object
java.lang.Enum<ClientEngine.ClientUpgradeStatus>
org.glassfish.tyrus.spi.ClientEngine.ClientUpgradeStatus
- All Implemented Interfaces:
Serializable
,Comparable<ClientEngine.ClientUpgradeStatus>
,Constable
- Enclosing interface:
ClientEngine
Status of upgrade process.
Returned by ClientEngine.processResponse(UpgradeResponse, Writer, Connection.CloseListener)
.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionClient engine needs to send another request.Upgrade process was successful.Upgrade process failed. -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this class with the specified name.static ClientEngine.ClientUpgradeStatus[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
ANOTHER_UPGRADE_REQUEST_REQUIRED
Client engine needs to send another request.- See Also:
-
UPGRADE_REQUEST_FAILED
Upgrade process failed. -
SUCCESS
Upgrade process was successful.- See Also:
-
-
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
-