public static enum ConnectionFactoryBuilder.Protocol extends Enum<ConnectionFactoryBuilder.Protocol>
Enum Constant and Description |
---|
BINARY
Use the binary protocol.
|
TEXT
Use the text (ascii) protocol.
|
Modifier and Type | Method and Description |
---|---|
static ConnectionFactoryBuilder.Protocol |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ConnectionFactoryBuilder.Protocol[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ConnectionFactoryBuilder.Protocol TEXT
public static final ConnectionFactoryBuilder.Protocol BINARY
public static ConnectionFactoryBuilder.Protocol[] values()
for (ConnectionFactoryBuilder.Protocol c : ConnectionFactoryBuilder.Protocol.values()) System.out.println(c);
public static ConnectionFactoryBuilder.Protocol 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 nullCopyright © 2018. All rights reserved.