public static enum SaslUtil.QualityOfProtection extends Enum<SaslUtil.QualityOfProtection>
Enum Constant and Description |
---|
AUTHENTICATION |
INTEGRITY |
PRIVACY |
Modifier and Type | Method and Description |
---|---|
String |
getSaslQop() |
boolean |
matches(String stringQop) |
static SaslUtil.QualityOfProtection |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SaslUtil.QualityOfProtection[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SaslUtil.QualityOfProtection AUTHENTICATION
public static final SaslUtil.QualityOfProtection INTEGRITY
public static final SaslUtil.QualityOfProtection PRIVACY
public static SaslUtil.QualityOfProtection[] values()
for (SaslUtil.QualityOfProtection c : SaslUtil.QualityOfProtection.values()) System.out.println(c);
public static SaslUtil.QualityOfProtection 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 getSaslQop()
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.