|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.google.gwt.user.client.rpc.impl.RemoteServiceProxy
public abstract class RemoteServiceProxy
Superclass for client-side
RemoteService proxies.
For internal use only.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface com.google.gwt.user.client.rpc.ServiceDefTarget |
|---|
ServiceDefTarget.NoServiceEntryPointSpecifiedException |
| Method Summary | |
|---|---|
static JavaScriptObject |
bytesStat(java.lang.String method,
int count,
int bytes,
java.lang.String eventType)
|
SerializationStreamReader |
createStreamReader(java.lang.String encoded)
Returns a SerializationStreamReader that is ready for reading. |
SerializationStreamWriter |
createStreamWriter()
Returns a SerializationStreamWriter that has had
ClientSerializationStreamWriter.prepareToWrite() called on it and
it has already had had the name of the remote service interface written as
well. |
java.lang.String |
getSerializationPolicyName()
Return the strong name of the serialization policy to be used with this RPC instance. |
java.lang.String |
getServiceEntryPoint()
Gets the URL of a service implementation. |
static boolean |
isStatsAvailable()
Indicates if RPC statistics should be gathered. |
void |
setRpcRequestBuilder(RpcRequestBuilder builder)
Sets the RpcRequestBuilder that should be used by the service implementation. |
void |
setServiceEntryPoint(java.lang.String url)
Sets the URL of a service implementation. |
static boolean |
stats(JavaScriptObject data)
Always use this as isStatsAvailable() &&
stats(JavaScriptObject). |
static JavaScriptObject |
timeStat(java.lang.String method,
int count,
java.lang.String eventType)
|
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static JavaScriptObject bytesStat(java.lang.String method,
int count,
int bytes,
java.lang.String eventType)
public static boolean isStatsAvailable()
public static boolean stats(JavaScriptObject data)
isStatsAvailable() &&
stats(JavaScriptObject).
public static JavaScriptObject timeStat(java.lang.String method,
int count,
java.lang.String eventType)
public SerializationStreamReader createStreamReader(java.lang.String encoded)
throws SerializationException
SerializationStreamReader that is ready for reading.
createStreamReader in interface SerializationStreamFactoryencoded - string that encodes the response of an RPC request
SerializationStreamReader that is ready for reading
SerializationExceptionpublic SerializationStreamWriter createStreamWriter()
SerializationStreamWriter that has had
ClientSerializationStreamWriter.prepareToWrite() called on it and
it has already had had the name of the remote service interface written as
well.
createStreamWriter in interface SerializationStreamFactorySerializationStreamWriter that has had
ClientSerializationStreamWriter.prepareToWrite() called on
it and it has already had had the name of the remote service
interface written as wellpublic java.lang.String getSerializationPolicyName()
ServiceDefTarget
getSerializationPolicyName in interface ServiceDefTargetpublic java.lang.String getServiceEntryPoint()
ServiceDefTarget
getServiceEntryPoint in interface ServiceDefTargetServiceDefTarget.setServiceEntryPoint(String)ServiceDefTarget.getServiceEntryPoint()public void setRpcRequestBuilder(RpcRequestBuilder builder)
ServiceDefTarget
setRpcRequestBuilder in interface ServiceDefTargetpublic void setServiceEntryPoint(java.lang.String url)
ServiceDefTarget
setServiceEntryPoint in interface ServiceDefTargeturl - a URL that designates the service implementation to callServiceDefTarget.setServiceEntryPoint(String)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||