public static enum XMLHttpRequest.AjaxReadyState extends java.lang.Enum<XMLHttpRequest.AjaxReadyState>
Enum Constant and Description |
---|
CONNECTED
"1" , "server connection established"
|
NOT_INITIALIZED
"0", "request not initialized"
|
REQUEST_PROCESSING
"3", "processing request"
|
REQUEST_RECEIEVED
"2", " request received"
|
RESPONSE_READY
"4", "request finished and response is ready"
|
Modifier and Type | Method and Description |
---|---|
static XMLHttpRequest.AjaxReadyState |
get(java.lang.String stateCode)
Return a matched
XMLHttpRequest.AjaxReadyState according to the ready state code. |
java.lang.String |
text()
getter of
text |
java.lang.String |
value()
getter of
value |
static XMLHttpRequest.AjaxReadyState |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static XMLHttpRequest.AjaxReadyState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final XMLHttpRequest.AjaxReadyState NOT_INITIALIZED
public static final XMLHttpRequest.AjaxReadyState CONNECTED
public static final XMLHttpRequest.AjaxReadyState REQUEST_RECEIEVED
public static final XMLHttpRequest.AjaxReadyState REQUEST_PROCESSING
public static final XMLHttpRequest.AjaxReadyState RESPONSE_READY
public static XMLHttpRequest.AjaxReadyState[] values()
for (XMLHttpRequest.AjaxReadyState c : XMLHttpRequest.AjaxReadyState.values()) System.out.println(c);
public static XMLHttpRequest.AjaxReadyState 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 nullpublic java.lang.String value()
value
public java.lang.String text()
text
public static XMLHttpRequest.AjaxReadyState get(java.lang.String stateCode)
XMLHttpRequest.AjaxReadyState
according to the ready state code.stateCode
- String, the ready state code to compare with value()
.Copyright © SAS Institute. All Rights Reserved.