Class orion.xhr.Result
Wraps an XHR response.
Defined in: </shared/eclipse/e4/orion/I201206221139/plugins/org.eclipse.orion.client.core/web/orion/xhr.js>.
| Constructor Attributes | Constructor Name and Description |
|---|---|
| Field Attributes | Field Name and Description |
|---|---|
|
Arguments passed to the orion.xhr.xhr call.
|
|
|
The
response object returned by the XMLHttpRequest. |
|
|
The
response returned by the XMLHttpRequest, if it is a String. |
|
|
The HTTP status code returned by the XMLHttpRequest.
|
|
|
The URL that the XHR request was made to.
|
|
|
The underlying XMLHttpRequest object.
|
Field Detail
{Object}
args
Arguments passed to the orion.xhr.xhr call.
The
response object returned by the XMLHttpRequest.
It is typed according to the responseType passed to the XHR call (by default it is a String).
{String}
responseText
The
response returned by the XMLHttpRequest, if it is a String.
If the response is not a String, this property is null.
{Number}
status
The HTTP status code returned by the XMLHttpRequest.
{String}
url
The URL that the XHR request was made to.
{XMLHttpRequest}
xhr
The underlying XMLHttpRequest object.