Class Index | File Index

Classes


Class orion.xhr.Result

Wraps an XHR response or failure.
Defined in: </jobs/genie.orion/orion-client-stable/workspace/bundles/org.eclipse.orion.client.core/web/orion/xhr.js>.

Class Summary
Constructor Attributes Constructor Name and Description
 
Field Summary
Field Attributes Field Name and Description
 
Arguments passed to the orion.xhr.xhr call.
 
Optional.
 
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.
 
url
The URL that the XHR request was made to.
 
xhr
The underlying XMLHttpRequest object.
Class Detail
orion.xhr.Result()
Field Detail
{Object} args
Arguments passed to the orion.xhr.xhr call.

{String|Error} error
Optional. If a timeout occurred or an error was thrown while performing the XMLHttpRequest, this field contains information about the error.

{Object|ArrayBuffer|Blob|Document|String} response
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.

Documentation generated by JsDoc Toolkit 2.4.0 on Fri Mar 17 2017 08:51:36 GMT-0400 (EDT)