Example usage for com.google.gwt.jsonp.client JsonpRequestBuilder send

List of usage examples for com.google.gwt.jsonp.client JsonpRequestBuilder send

Introduction

In this page you can find the example usage for com.google.gwt.jsonp.client JsonpRequestBuilder send.

Prototype

public JsonpRequest<Void> send(String url, AsyncCallback<Void> callback) 

Source Link

Document

Sends a JSONP request, does not expect any result, but still allows to be notified when the request has been executed on the server.

Usage

From source file:fr.mncc.gwttoolbox.ajax.client.Jsonp.java

License:Open Source License

public static void post(String url, AsyncCallback<Void> callback) {
    com.google.gwt.jsonp.client.JsonpRequestBuilder jsonp = new com.google.gwt.jsonp.client.JsonpRequestBuilder();
    jsonp.send(url, callback);
}

From source file:fr.mncc.minus.ajax.client.Ajax.java

License:Open Source License

public static void postCrossDomain(String url, AsyncCallback<Void> callback) {
    com.google.gwt.jsonp.client.JsonpRequestBuilder requestBuilder = new com.google.gwt.jsonp.client.JsonpRequestBuilder();
    requestBuilder.send(url, callback);
}