|
|||||||||
| 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.OsapiRequest<T>
T - The type of object returned by the request.public abstract class OsapiRequest<T extends com.google.gwt.core.client.JavaScriptObject>
A class representing OpenSocial request.
| Constructor Summary | |
|---|---|
protected |
OsapiRequest()
Required by JavaScriptObject policy. |
| Method Summary | |
|---|---|
void |
execute(Callback<T> callback)
Executes this requests. |
protected void |
nativeExecute(com.google.gwt.core.client.JavaScriptObject callback)
Invokes underlying JavaScript API to execute this request with provided Callback instance. |
| 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 OsapiRequest()
JavaScriptObject policy.
| Method Detail |
|---|
public final void execute(Callback<T> callback)
callback - Callback to be invoked when request finishes.protected final void nativeExecute(com.google.gwt.core.client.JavaScriptObject callback)
Callback instance.
callback - The Callback instance to use for this request.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||