public enum CompressionAlgorithm extends Enum<CompressionAlgorithm>
| Enum Constant and Description |
|---|
UNCOMPRESSED
Do not use compression protocol.
|
ZLIB
Use zlib compression algorithm for client/server communication.
|
ZSTD
Use Z-Standard compression algorithm for client/server communication.
|
| 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 UNCOMPRESSED
public static final CompressionAlgorithm ZLIB
If zlib is not available, the connection will throw an exception when logging in.
public static final CompressionAlgorithm ZSTD
If zstd is not available, the connection will throw an exception when logging in.
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 © 2018–2024 asyncer.io. All rights reserved.