public static enum HttpStatus.Series extends Enum<HttpStatus.Series>
Retrievable via HttpStatus.series()
.
Enum Constant and Description |
---|
CLIENT_ERROR |
INFORMATIONAL |
REDIRECTION |
SERVER_ERROR |
SUCCESSFUL |
Modifier and Type | Method and Description |
---|---|
int |
value()
Return the integer value of this status series.
|
static HttpStatus.Series |
valueOf(HttpStatus status) |
static HttpStatus.Series |
valueOf(int status) |
static HttpStatus.Series |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static HttpStatus.Series[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final HttpStatus.Series INFORMATIONAL
public static final HttpStatus.Series SUCCESSFUL
public static final HttpStatus.Series REDIRECTION
public static final HttpStatus.Series CLIENT_ERROR
public static final HttpStatus.Series SERVER_ERROR
public static HttpStatus.Series[] values()
for (HttpStatus.Series c : HttpStatus.Series.values()) System.out.println(c);
public static HttpStatus.Series 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 int value()
public static HttpStatus.Series valueOf(int status)
public static HttpStatus.Series valueOf(HttpStatus status)