public enum SocksAuthStatus extends java.lang.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 (java.lang.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.
|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOfgetClass, notify, notifyAll, wait, wait, waitpublic 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(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - 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–2018 The Netty Project. All rights reserved.