public static enum HttpStatus.Family extends Enum<HttpStatus.Family>
Enum Constant and Description |
---|
CLIENT_ERROR |
INFORMATIONAL |
OTHER |
REDIRECTION |
SERVER_ERROR |
SUCCESSFUL |
Modifier and Type | Method and Description |
---|---|
static HttpStatus.Family |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static HttpStatus.Family[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final HttpStatus.Family INFORMATIONAL
public static final HttpStatus.Family SUCCESSFUL
public static final HttpStatus.Family REDIRECTION
public static final HttpStatus.Family CLIENT_ERROR
public static final HttpStatus.Family SERVER_ERROR
public static final HttpStatus.Family OTHER
public static HttpStatus.Family[] values()
for (HttpStatus.Family c : HttpStatus.Family.values()) System.out.println(c);
public static HttpStatus.Family 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 © 2010-2014 Airlift. All Rights Reserved.