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