public enum RequestState extends java.lang.Enum<RequestState>
| Enum Constant and Description |
|---|
NOT_SENT
No request has been sent to the server
|
SENT_NOT_RECEIVED
The request has been send to the server, but no response has been received
|
SENT_OKAY
The request has been sent to the server, and the server confirmed the receipt
|
SENT_REJECTED
The request has been sent to the server, but the server rejected the request
|
| Modifier and Type | Method and Description |
|---|---|
static RequestState |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static RequestState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RequestState SENT_NOT_RECEIVED
public static final RequestState SENT_OKAY
public static final RequestState SENT_REJECTED
public static final RequestState NOT_SENT
public static RequestState[] values()
for (RequestState c : RequestState.values()) System.out.println(c);
public static RequestState valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is null