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