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