|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.google.gwt.core.client.JavaScriptObject
com.google.gwt.gadgets.client.osapi.BatchRequest
public class BatchRequest
A class implementing a request batching other requests.
| Constructor Summary | |
|---|---|
protected |
BatchRequest()
Required by JavaScriptObject policy. |
| Method Summary | ||
|---|---|---|
|
add(OsapiRequest<T> request,
Callback<T> callback)
Adds an opensocial request to this batch request. |
|
void |
execute()
Executes this batch request. |
|
static BatchRequest |
newInstance()
Returns the new instance of BatchRequest class. |
|
| Methods inherited from class com.google.gwt.core.client.JavaScriptObject |
|---|
cast, createArray, createFunction, createObject, equals, hashCode, toSource, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
protected BatchRequest()
JavaScriptObject policy.
| Method Detail |
|---|
public static final BatchRequest newInstance()
BatchRequest class.
BatchRequest class.
public final <T extends com.google.gwt.core.client.JavaScriptObject> void add(OsapiRequest<T> request,
Callback<T> callback)
request - OpenSocial request to batch.callback - Callback to be called when request finishes.public final void execute()
add(com.google.gwt.gadgets.client.osapi.OsapiRequest, com.google.gwt.gadgets.client.osapi.Callback) methods should not be called on this object.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||