public enum DecoderEncoder extends Enum<DecoderEncoder>
Enum Constant and Description |
---|
HTTP
Transfer for files using HTTP protocol.
|
STRING
Simple string messages, using UTF-8.
|
WEBSOCKET
String messages over a websocket.
|
ZLIB
Transfer using ZLIB compression.
|
Modifier and Type | Method and Description |
---|---|
static DecoderEncoder |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DecoderEncoder[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DecoderEncoder STRING
public static final DecoderEncoder HTTP
public static final DecoderEncoder ZLIB
public static final DecoderEncoder WEBSOCKET
public static DecoderEncoder[] values()
for (DecoderEncoder c : DecoderEncoder.values()) System.out.println(c);
public static DecoderEncoder 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 © 2014–2016. All rights reserved.