public enum ThriftNegotiationType extends Enum<ThriftNegotiationType>
| Enum Constant and Description |
|---|
PLAINTEXT
No security negotiation defined
|
SASL
SASL security negotiation.
|
SSL
SSL/TLS security negotiation
|
| Modifier and Type | Method and Description |
|---|---|
static ThriftNegotiationType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ThriftNegotiationType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ThriftNegotiationType PLAINTEXT
public static final ThriftNegotiationType SSL
public static final ThriftNegotiationType SASL
public static ThriftNegotiationType[] values()
for (ThriftNegotiationType c : ThriftNegotiationType.values()) System.out.println(c);
public static ThriftNegotiationType 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 nullApache Camel