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