public static enum ClientEngine.ClientUpgradeStatus extends java.lang.Enum<ClientEngine.ClientUpgradeStatus>
Returned by ClientEngine.processResponse(UpgradeResponse, Writer, Connection.CloseListener)
.
Enum Constant and Description |
---|
ANOTHER_UPGRADE_REQUEST_REQUIRED
Client engine needs to send another request.
|
SUCCESS
Upgrade process was successful.
|
UPGRADE_REQUEST_FAILED
Upgrade process failed.
|
Modifier and Type | Method and Description |
---|---|
static ClientEngine.ClientUpgradeStatus |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ClientEngine.ClientUpgradeStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ClientEngine.ClientUpgradeStatus ANOTHER_UPGRADE_REQUEST_REQUIRED
public static final ClientEngine.ClientUpgradeStatus UPGRADE_REQUEST_FAILED
public static final ClientEngine.ClientUpgradeStatus SUCCESS
public static ClientEngine.ClientUpgradeStatus[] values()
for (ClientEngine.ClientUpgradeStatus c : ClientEngine.ClientUpgradeStatus.values()) System.out.println(c);
public static ClientEngine.ClientUpgradeStatus 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 nullCopyright © 2012–2020 Oracle Corporation. All rights reserved.