public enum ResponseType extends Enum<ResponseType>
| Enum Constant and Description | 
|---|
BULK
byte array value. 
 | 
ERROR
C String simple String representing an error. 
 | 
INTEGER
64 bit integer value. 
 | 
MULTI
List of multiple bulk responses. 
 | 
SIMPLE
C String simple String. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
static ResponseType | 
valueOf(String name)
Returns the enum constant of this type with the specified name. 
 | 
static ResponseType[] | 
values()
Returns an array containing the constants of this enum type, in
the order they are declared. 
 | 
public static final ResponseType SIMPLE
public static final ResponseType ERROR
public static final ResponseType INTEGER
public static final ResponseType BULK
public static final ResponseType MULTI
public static ResponseType[] values()
for (ResponseType c : ResponseType.values()) System.out.println(c);
public static ResponseType 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 © 2020 Eclipse. All rights reserved.