public enum Gs2CbindFlag extends java.lang.Enum<Gs2CbindFlag> implements CharAttribute
Enum Constant and Description |
---|
CHANNEL_BINDING_REQUIRED
Client requires channel binding.
|
CLIENT_NOT
Client doesn't support channel binding.
|
CLIENT_YES_SERVER_NOT
Client does support channel binding but thinks the server does not.
|
Modifier and Type | Field and Description |
---|---|
private char |
flag |
Modifier and Type | Method and Description |
---|---|
static Gs2CbindFlag |
byChar(char c) |
char |
getChar()
Return the char used to represent this attribute
|
static Gs2CbindFlag |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Gs2CbindFlag[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Gs2CbindFlag CLIENT_NOT
public static final Gs2CbindFlag CLIENT_YES_SERVER_NOT
public static final Gs2CbindFlag CHANNEL_BINDING_REQUIRED
public static Gs2CbindFlag[] values()
for (Gs2CbindFlag c : Gs2CbindFlag.values()) System.out.println(c);
public static Gs2CbindFlag 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 nullpublic char getChar()
CharAttribute
getChar
in interface CharAttribute
public static Gs2CbindFlag byChar(char c)