public static enum RecordingResponse.State extends Enum<RecordingResponse.State>
respondXXX
and
getOutputStream
methods.Enum Constant and Description |
---|
NO_CONTENT |
NOT_FOUND |
NOT_MODIFIED |
SEND_BODY |
SETUP |
Modifier and Type | Method and Description |
---|---|
static RecordingResponse.State |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RecordingResponse.State[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RecordingResponse.State SETUP
public static final RecordingResponse.State NOT_MODIFIED
public static final RecordingResponse.State NOT_FOUND
public static final RecordingResponse.State NO_CONTENT
public static final RecordingResponse.State SEND_BODY
public static RecordingResponse.State[] values()
for (RecordingResponse.State c : RecordingResponse.State.values()) System.out.println(c);
public static RecordingResponse.State 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 null