public static enum Connection.CompressionPolicy extends Enum<Connection.CompressionPolicy>
Enum Constant and Description |
---|
disabled
compression is not available.
|
optional
compression is optional to interact with the server.
|
Modifier and Type | Method and Description |
---|---|
static Connection.CompressionPolicy |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Connection.CompressionPolicy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Connection.CompressionPolicy optional
public static final Connection.CompressionPolicy disabled
public static Connection.CompressionPolicy[] values()
for (Connection.CompressionPolicy c : Connection.CompressionPolicy.values()) System.out.println(c);
public static Connection.CompressionPolicy 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 © 2003-2008 Jive Software.