public static enum HttpClientUpgradeHandler.UpgradeEvent extends Enum<HttpClientUpgradeHandler.UpgradeEvent>
Enum Constant and Description |
---|
UPGRADE_ISSUED
The Upgrade request was sent to the server.
|
UPGRADE_REJECTED
The Upgrade was unsuccessful due to the server not issuing
with a 101 Switching Protocols response.
|
UPGRADE_SUCCESSFUL
The Upgrade to the new protocol was successful.
|
Modifier and Type | Method and Description |
---|---|
static HttpClientUpgradeHandler.UpgradeEvent |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static HttpClientUpgradeHandler.UpgradeEvent[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final HttpClientUpgradeHandler.UpgradeEvent UPGRADE_ISSUED
public static final HttpClientUpgradeHandler.UpgradeEvent UPGRADE_SUCCESSFUL
public static final HttpClientUpgradeHandler.UpgradeEvent UPGRADE_REJECTED
public static HttpClientUpgradeHandler.UpgradeEvent[] values()
for (HttpClientUpgradeHandler.UpgradeEvent c : HttpClientUpgradeHandler.UpgradeEvent.values()) System.out.println(c);
public static HttpClientUpgradeHandler.UpgradeEvent valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 2008–2024 The Netty Project. All rights reserved.