public static enum SocksMessage.AuthScheme extends Enum<SocksMessage.AuthScheme>
Enum Constant and Description |
---|
AUTH_GSSAPI |
AUTH_PASSWORD |
NO_AUTH |
UNKNOWN |
Modifier and Type | Method and Description |
---|---|
static SocksMessage.AuthScheme |
fromByte(byte b) |
byte |
getByteValue() |
static SocksMessage.AuthScheme |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SocksMessage.AuthScheme[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SocksMessage.AuthScheme NO_AUTH
public static final SocksMessage.AuthScheme AUTH_GSSAPI
public static final SocksMessage.AuthScheme AUTH_PASSWORD
public static final SocksMessage.AuthScheme UNKNOWN
public static SocksMessage.AuthScheme[] values()
for (SocksMessage.AuthScheme c : SocksMessage.AuthScheme.values()) System.out.println(c);
public static SocksMessage.AuthScheme 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 nullpublic static SocksMessage.AuthScheme fromByte(byte b)
public byte getByteValue()
Copyright © 2008-2014 The Netty Project. All Rights Reserved.