| Enum Constant and Description |
|---|
EMPTY_RESPONSE |
MALFORMED_RESPONSE_CHUNK |
RANDOM_DATA_THEN_CLOSE |
| Modifier and Type | Method and Description |
|---|---|
abstract void |
apply(FaultInjector faultInjector) |
static Fault |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Fault[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Fault EMPTY_RESPONSE
public static final Fault MALFORMED_RESPONSE_CHUNK
public static final Fault RANDOM_DATA_THEN_CLOSE
public static Fault[] values()
for (Fault c : Fault.values()) System.out.println(c);
public static Fault valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic abstract void apply(FaultInjector faultInjector)