public static enum Status.Category extends Enum<Status.Category>
| Enum Constant and Description |
|---|
CLIENT_ERROR |
INFORMATIONAL |
REDIRECTION |
SERVER_ERROR |
SUCCESS |
| Modifier and Type | Method and Description |
|---|---|
boolean |
contains(Status status) |
static Status.Category |
valueOf(Status status) |
static Status.Category |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Status.Category[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Status.Category INFORMATIONAL
public static final Status.Category SUCCESS
public static final Status.Category REDIRECTION
public static final Status.Category CLIENT_ERROR
public static final Status.Category SERVER_ERROR
public static Status.Category[] values()
for (Status.Category c : Status.Category.values()) System.out.println(c);
public static Status.Category 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 nullpublic boolean contains(Status status)
public static Status.Category valueOf(Status status)
Copyright © 2008-2013. All Rights Reserved.