CharAttribute
, Serializable
, Comparable<Gs2CbindFlag>
public enum Gs2CbindFlag extends Enum<Gs2CbindFlag> implements CharAttribute
Enum Constant | 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 | Method | Description |
---|---|---|
static Gs2CbindFlag |
byChar(char c) |
|
char |
getChar() |
Return the char used to represent this attribute
|
static Gs2CbindFlag |
valueOf(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(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 char getChar()
CharAttribute
getChar
in interface CharAttribute
public static Gs2CbindFlag byChar(char c)
Copyright © 2017–2018. All rights reserved.