java.lang.Object | |
↳ | com.google.gwt.user.client.rpc.impl.RemoteServiceProxy |
Known Direct Subclasses |
Superclass for client-side
RemoteService
proxies.
For internal use only.
Protected Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
This method is deprecated.
use
RpcStatsContext .
| |||||||||||
Returns a
SerializationStreamReader that is ready for reading. | |||||||||||
Returns a
SerializationStreamWriter that has had
prepareToWrite() called on it and
it has already had had the name of the remote service interface written as
well. | |||||||||||
Return RPC token used with this RPC instance.
| |||||||||||
Return RPC token exception handler used with this RPC instance.
| |||||||||||
Return the strong name of the serialization policy to be used with this RPC
instance.
| |||||||||||
Gets the URL of a service implementation.
| |||||||||||
This method is deprecated.
use
RpcStatsContext .
| |||||||||||
Sets the RpcRequestBuilder that should be used by the service
implementation.
| |||||||||||
Sets the
RpcToken to be included with each RPC call. | |||||||||||
Sets the handler for exceptions that occurred during RPC token processing.
| |||||||||||
Sets the URL of a service implementation.
| |||||||||||
This method is deprecated.
use {link RpcStatsContext}.
| |||||||||||
This method is deprecated.
use
RpcStatsContext .
|
Protected Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
This method is overridden by generated proxy classes to ensure that
current service's
RpcToken is of the type specified in RpcToken.RpcTokenImplementation annotation. | |||||||||||
Performs a remote service method invocation.
| |||||||||||
Configures a RequestBuilder to send an RPC request when the RequestBuilder
is intended to be returned through the asynchronous proxy interface.
| |||||||||||
This method is deprecated.
Use
RpcRequestBuilder instead.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
From interface
com.google.gwt.user.client.rpc.HasRpcToken
| |||||||||||
From interface
com.google.gwt.user.client.rpc.SerializationStreamFactory
| |||||||||||
From interface
com.google.gwt.user.client.rpc.ServiceDefTarget
|
Returns a SerializationStreamReader
that is ready for reading.
encoded | string that encodes the response of an RPC request |
---|
SerializationStreamReader
that is ready for readingSerializationException |
---|
Returns a SerializationStreamWriter
that has had
prepareToWrite()
called on it and
it has already had had the name of the remote service interface written as
well.
SerializationStreamWriter
that has had
prepareToWrite()
called on
it and it has already had had the name of the remote service
interface written as well
Return RPC token used with this RPC instance.
null
if none set.
Return RPC token exception handler used with this RPC instance.
null
if none set.
Return the strong name of the serialization policy to be used with this RPC instance.
Gets the URL of a service implementation.
setServiceEntryPoint(String)
Sets the RpcRequestBuilder that should be used by the service implementation. This method can be called if customized request behavior is desired. Calling this method with a null value will reset any custom behavior to the default implementation.
Sets the RpcToken
to be included with each RPC call.
Sets the handler for exceptions that occurred during RPC token processing.
Sets the URL of a service implementation.
url | a URL that designates the service implementation to call |
---|
This method is deprecated.
use {link RpcStatsContext}.
Always use this as isStatsAvailable()
&&
stats(JavaScriptObject)
.
This method is overridden by generated proxy classes to ensure that
current service's RpcToken
is of the type specified in RpcToken.RpcTokenImplementation
annotation.
token | currently set RpcToken . |
---|
if types mismatch. |
Performs a remote service method invocation. This method is called by generated proxy classes.
responseReader | instance used to read the return value of the invocation |
---|---|
requestData | payload that encodes the addressing and arguments of the RPC call |
callback | callback handler |
Request
object that can be used to track the request
Configures a RequestBuilder to send an RPC request when the RequestBuilder is intended to be returned through the asynchronous proxy interface.
responseReader | instance used to read the return value of the invocation |
---|---|
requestData | payload that encodes the addressing and arguments of the RPC call |
callback | callback handler |
send()
method invoked.