com.google.gwt.gadgets.client.gwtrpc
Class GadgetsGwtRpc

java.lang.Object
  extended by com.google.gwt.gadgets.client.gwtrpc.GadgetsGwtRpc

public class GadgetsGwtRpc
extends Object

Class providing a way to redirect GWT RPC calls through Gadgets container.


Method Summary
static void redirectThroughProxy(com.google.gwt.user.client.rpc.ServiceDefTarget serviceDef)
          Redirects passed service through gadgets container which makes GWT RPC possible in Gadgets environment.
static void redirectThroughProxy(com.google.gwt.user.client.rpc.ServiceDefTarget serviceDef, String deployURL)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

redirectThroughProxy

public static void redirectThroughProxy(com.google.gwt.user.client.rpc.ServiceDefTarget serviceDef)
Redirects passed service through gadgets container which makes GWT RPC possible in Gadgets environment. See description of how to use GWT RPC in the Gadgets environment.

Parameters:
serviceDef - definition of the service.

redirectThroughProxy

public static void redirectThroughProxy(com.google.gwt.user.client.rpc.ServiceDefTarget serviceDef,
                                        String deployURL)


Copyright © 2014. All rights reserved.