The goog.net.BulkLoaderHelper Class

goog.net.BulkLoaderHelper
> goog.Disposable

goog.net.BulkLoaderHelper(uris)

Helper class used to load multiple URIs.

uris {Array.<string|goog.Uri>}
The URIs to load.

.addOnDisposeCallback(callback, opt_scope)

Inherited from goog.Disposable .

Invokes a callback function when this object is disposed. Callbacks are invoked in the order in which they were added.

callback {!Function}
The callback function.
opt_scope {Object=}
An optional scope to call the callback in.

.creationStack {string}

Inherited from goog.Disposable .

If monitoring the goog.Disposable instances is enabled, stores the creation stack trace of the Disposable instance.

.dispose()

Inherited from goog.Disposable .

Disposes of the object. If the object hasn't already been disposed of, calls {@link #disposeInternal}. Classes that extend {@code goog.Disposable} should override {@link #disposeInternal} in order to delete references to COM objects, DOM nodes, and other disposable objects. Reentrant.

returns {void}
Nothing.

.getResponseTexts()

Gets the response texts.

returns {Array.<string>}
The response texts.

.getUri(id)

Gets the URI by id.

id {number}
The id.
returns {string|goog.Uri}
The URI specified by the id.

.getUris()

Gets the URIs.

returns {Array.<string|goog.Uri>}
The URIs.

.isDisposed()

Inherited from goog.Disposable .

returns {boolean}
Whether the object has been disposed of.

.isLoadComplete()

Determines if the load of the URIs is complete.

returns {boolean}
TRUE iff the load is complete.

.registerDisposable(disposable)

Inherited from goog.Disposable .

Associates a disposable object with this object so that they will be disposed together.

disposable {goog.disposable.IDisposable}
that will be disposed when this object is disposed.

.setResponseText(id, responseText)

Sets the response text by id.

id {number}
The id.
responseText {string}
The response texts.