public static enum SaslConnectionParams.SaslMechanism extends Enum<SaslConnectionParams.SaslMechanism>
Enum Constant and Description |
---|
DIGEST_MD5 |
GSSAPI |
Modifier and Type | Method and Description |
---|---|
static SaslConnectionParams.SaslMechanism |
get(String mechanismName) |
String |
getMechanismName() |
static SaslConnectionParams.SaslMechanism |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SaslConnectionParams.SaslMechanism[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SaslConnectionParams.SaslMechanism GSSAPI
public static final SaslConnectionParams.SaslMechanism DIGEST_MD5
public static SaslConnectionParams.SaslMechanism[] values()
for (SaslConnectionParams.SaslMechanism c : SaslConnectionParams.SaslMechanism.values()) System.out.println(c);
public static SaslConnectionParams.SaslMechanism 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 getMechanismName()
public static SaslConnectionParams.SaslMechanism get(String mechanismName)
Copyright © 2011–2018 The Apache Software Foundation. All rights reserved.