public enum TestResponseType extends Enum<TestResponseType>
| Enum Constant and Description |
|---|
DOCUMENT
The page responded with an output document.
|
ERROR
The page responded with an HTTP error.
|
NOTHING
The page did not respond at all 8-/
|
REDIRECT
The page responded by sending a HTTP redirect
|
| Modifier and Type | Method and Description |
|---|---|
static TestResponseType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TestResponseType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TestResponseType NOTHING
public static final TestResponseType ERROR
public static final TestResponseType REDIRECT
public static final TestResponseType DOCUMENT
public static TestResponseType[] values()
for (TestResponseType c : TestResponseType.values()) System.out.println(c);
public static TestResponseType 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 © 2017 etc.to. All rights reserved.