com.googlecode.jpattern.gwt.client.communication.sop
Class JSONRequest

java.lang.Object
  extended by com.googlecode.jpattern.gwt.client.communication.sop.JSONRequest

public class JSONRequest
extends Object

Author:
Francesco Cina' 13/mag/2011 This class is intended to resolve the Same Origin Problem. Code found on internet, source site: http://doctordooley.blogspot.com/2009/07/gwt-sop-workaround.html

Constructor Summary
JSONRequest()
           
 
Method Summary
static void addScript(String url)
           
static void get(String url, JSONRequestHandler handler)
           
static void get(String url, String callbackName, JSONRequestHandler handler)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JSONRequest

public JSONRequest()
Method Detail

get

public static void get(String url,
                       JSONRequestHandler handler)

get

public static void get(String url,
                       String callbackName,
                       JSONRequestHandler handler)

addScript

public static void addScript(String url)


Copyright © 2011. All Rights Reserved.