public enum ExtendedResponseStatus extends Enum<ExtendedResponseStatus> implements javax.ws.rs.core.Response.StatusType
| Enum Constant and Description |
|---|
UNPROCESSABLE_ENTITY
422 náo é possível processar a entidade
|
| Modifier and Type | Method and Description |
|---|---|
javax.ws.rs.core.Response.Status.Family |
getFamily() |
String |
getReasonPhrase() |
int |
getStatusCode() |
static ExtendedResponseStatus |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ExtendedResponseStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ExtendedResponseStatus UNPROCESSABLE_ENTITY
public static ExtendedResponseStatus[] values()
for (ExtendedResponseStatus c : ExtendedResponseStatus.values()) System.out.println(c);
public static ExtendedResponseStatus 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 getStatusCode()
getStatusCode in interface javax.ws.rs.core.Response.StatusTypepublic javax.ws.rs.core.Response.Status.Family getFamily()
getFamily in interface javax.ws.rs.core.Response.StatusTypepublic String getReasonPhrase()
getReasonPhrase in interface javax.ws.rs.core.Response.StatusTypeCopyright © 2017. All rights reserved.