public static enum WebDriverHandler.SupportedHttpCode extends java.lang.Enum<WebDriverHandler.SupportedHttpCode>
| Enum Constant and Description |
|---|
FORBIDDEN
403 Forbidden.
|
SUCCESS
200 Success.
|
UNAUTHORIZED
401 Unauthorized.
|
UNEXPECTED_ERROR
500 Internal Server Error.
|
| Modifier and Type | Field and Description |
|---|---|
private int |
status
The HTTP code to be returned to the end-user.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getStatus()
Getter for
status. |
static WebDriverHandler.SupportedHttpCode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static WebDriverHandler.SupportedHttpCode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final WebDriverHandler.SupportedHttpCode SUCCESS
public static final WebDriverHandler.SupportedHttpCode UNAUTHORIZED
public static final WebDriverHandler.SupportedHttpCode FORBIDDEN
public static final WebDriverHandler.SupportedHttpCode UNEXPECTED_ERROR
public static WebDriverHandler.SupportedHttpCode[] values()
for (WebDriverHandler.SupportedHttpCode c : WebDriverHandler.SupportedHttpCode.values()) System.out.println(c);
public static WebDriverHandler.SupportedHttpCode 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 int getStatus()
status.