public enum ScramServerErrorCode extends Enum<ScramServerErrorCode>
| Modifier and Type | Method and Description |
|---|---|
static ScramServerErrorCode |
fromErrorString(String value) |
byte[] |
getMessageBytes() |
String |
getText() |
boolean |
in(ScramServerErrorCode... values)
Determine whether this instance is equal to one of the given instances.
|
boolean |
in(ScramServerErrorCode v1)
Determine whether this instance is equal to one of the given instances.
|
boolean |
in(ScramServerErrorCode v1,
ScramServerErrorCode v2)
Determine whether this instance is equal to one of the given instances.
|
boolean |
in(ScramServerErrorCode v1,
ScramServerErrorCode v2,
ScramServerErrorCode v3)
Determine whether this instance is equal to one of the given instances.
|
static boolean |
isFull(EnumSet<ScramServerErrorCode> set)
Determine whether the given set is fully populated (or "full"), meaning it contains all possible values.
|
static ScramServerErrorCode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ScramServerErrorCode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ScramServerErrorCode INVALID_ENCODING
public static final ScramServerErrorCode EXTENSIONS_NOT_SUPPORTED
public static final ScramServerErrorCode INVALID_PROOF
public static final ScramServerErrorCode CHANNEL_BINDINGS_DONT_MATCH
public static final ScramServerErrorCode SERVER_DOES_NOT_SUPPORT_CHANNEL_BINDING
public static final ScramServerErrorCode SERVER_DOES_SUPPORT_CHANNEL_BINDING
public static final ScramServerErrorCode CHANNEL_BINDING_NOT_SUPPORTED
public static final ScramServerErrorCode CHANNEL_BINDING_NOT_PROVIDED
public static final ScramServerErrorCode UNSUPPORTED_CHANNEL_BINDING_TYPE
public static final ScramServerErrorCode UNKNOWN_USER
public static final ScramServerErrorCode INVALID_USERNAME_ENCODING
public static final ScramServerErrorCode NO_RESOURCES
public static final ScramServerErrorCode OTHER_ERROR
public static ScramServerErrorCode[] values()
for (ScramServerErrorCode c : ScramServerErrorCode.values()) System.out.println(c);
public static ScramServerErrorCode 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 String getText()
public byte[] getMessageBytes()
public static ScramServerErrorCode fromErrorString(String value)
public static boolean isFull(EnumSet<ScramServerErrorCode> set)
set - the settrue if the set is full, false otherwisepublic boolean in(ScramServerErrorCode v1)
v1 - the first instancetrue if one of the instances matches this one, false otherwisepublic boolean in(ScramServerErrorCode v1, ScramServerErrorCode v2)
v1 - the first instancev2 - the second instancetrue if one of the instances matches this one, false otherwisepublic boolean in(ScramServerErrorCode v1, ScramServerErrorCode v2, ScramServerErrorCode v3)
v1 - the first instancev2 - the second instancev3 - the third instancetrue if one of the instances matches this one, false otherwisepublic boolean in(ScramServerErrorCode... values)
values - the possible valuestrue if one of the instances matches this one, false otherwiseCopyright © 2019 JBoss by Red Hat. All rights reserved.