public enum CompressionAlgorithm extends Enum<CompressionAlgorithm>
| Enum Constant and Description |
|---|
None
Do not compress payload
|
Zlib
Compress payload with Zlib algorithm
|
| Modifier and Type | Method and Description |
|---|---|
static CompressionAlgorithm |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CompressionAlgorithm[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CompressionAlgorithm None
public static final CompressionAlgorithm Zlib
public static CompressionAlgorithm[] values()
for (CompressionAlgorithm c : CompressionAlgorithm.values()) System.out.println(c);
public static CompressionAlgorithm 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 © 2023 Bloomberg L.P.. All rights reserved.