public class

RpcServiceProxy

extends RemoteServiceProxy
java.lang.Object
   ↳ com.google.gwt.user.client.rpc.impl.RemoteServiceProxy
     ↳ com.google.gwt.rpc.client.impl.RpcServiceProxy

Class Overview

The base type for RPC proxies.

Summary

Protected Constructors
RpcServiceProxy(String moduleBaseURL, String remoteServiceRelativePath, TypeOverrides typeOverrides)
Public Methods
SerializationStreamReader createStreamReader(String encoded)
Returns a SerializationStreamReader that is ready for reading.
SerializationStreamWriter createStreamWriter()
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.
Protected Methods
<T> RequestCallback doCreateRequestCallback(RequestCallbackAdapter.ResponseReader responseReader, String methodName, RpcStatsContext statsContext, AsyncCallback<T> callback)
[Expand]
Inherited Methods
From class com.google.gwt.user.client.rpc.impl.RemoteServiceProxy
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

Protected Constructors

protected RpcServiceProxy (String moduleBaseURL, String remoteServiceRelativePath, TypeOverrides typeOverrides)

Public Methods

public SerializationStreamReader createStreamReader (String encoded)

Returns a SerializationStreamReader that is ready for reading.

Parameters
encoded string that encodes the response of an RPC request
Returns

public SerializationStreamWriter createStreamWriter ()

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.

Returns

Protected Methods

protected RequestCallback doCreateRequestCallback (RequestCallbackAdapter.ResponseReader responseReader, String methodName, RpcStatsContext statsContext, AsyncCallback<T> callback)