public static enum ProxyProtocolV2Handler.Command extends Enum<ProxyProtocolV2Handler.Command>
| Modifier and Type | Field and Description |
|---|---|
int |
value |
| Modifier and Type | Method and Description |
|---|---|
static ProxyProtocolV2Handler.Command |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ProxyProtocolV2Handler.Command[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ProxyProtocolV2Handler.Command LOCAL
public static final ProxyProtocolV2Handler.Command PROXY
public static ProxyProtocolV2Handler.Command[] values()
for (ProxyProtocolV2Handler.Command c : ProxyProtocolV2Handler.Command.values()) System.out.println(c);
public static ProxyProtocolV2Handler.Command 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 © 2006–2024. All rights reserved.