public enum SocksSubnegotiationVersion extends Enum<SocksSubnegotiationVersion>
Enum Constant and Description |
---|
AUTH_PASSWORD |
UNKNOWN |
Modifier and Type | Method and Description |
---|---|
byte |
byteValue() |
static SocksSubnegotiationVersion |
fromByte(byte b)
Deprecated.
Use
valueOf(byte) instead. |
static SocksSubnegotiationVersion |
valueOf(byte b) |
static SocksSubnegotiationVersion |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SocksSubnegotiationVersion[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SocksSubnegotiationVersion AUTH_PASSWORD
public static final SocksSubnegotiationVersion UNKNOWN
public static SocksSubnegotiationVersion[] values()
for (SocksSubnegotiationVersion c : SocksSubnegotiationVersion.values()) System.out.println(c);
public static SocksSubnegotiationVersion 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 null@Deprecated public static SocksSubnegotiationVersion fromByte(byte b)
valueOf(byte)
instead.public static SocksSubnegotiationVersion valueOf(byte b)
public byte byteValue()
Copyright © 2008–2017 The Netty Project. All rights reserved.