RequestBuilder requestBuilder = new RequestBuilder(
RequestBuilder.GET, FOOBAR_SERVICE_URL);
Request request = requestBuilder.sendRequest("",
new RequestCallback<ResultList>() { .... });
...
//user clicked cancel button
request.cancel();--
You received this message because you are subscribed to a topic in the Google Groups "RestyGWT" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/restygwt/9zY8rcdjDkk/unsubscribe.
To unsubscribe from this group and all its topics, send an email to restygwt+u...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
| Siamak Haschemi, Dipl. Inf (FH) | |
| Geschäftsführer | |
| hasc...@qyotta.de | |
| Mobil | +49 176 64123198 |
| Qyotta UG (haftungsbeschränkt) | |
| Pannierstraße 40 | |
| 12047 Berlin | |
| http://www.qyotta.de | |
| Geschäftsführer: Siamak Haschemi, Martin Schmidt | |
| Handelsregister: Amtsgericht Berlin-Charlottenburg HRB 138181 B | |
| Diese Nachricht (inklusive aller Anhänge) ist vertraulich. Sie darf ausschließlich durch den vorgesehenen Empfänger und Adressaten gelesen, kopiert oder genutzt werden. Sollten Sie diese Nachricht versehentlich erhalten haben, bitten wir, den Absender (durch Antwort-E-Mail) hiervon unverzüglich zu informieren und die Nachricht zu löschen. Jede unerlaubte Nutzung oder Weitergabe des Inhalts dieser Nachricht, sei es vollständig oder teilweise, ist unzulässig. Bitte beachten Sie, dass E-Mail-Nachrichten an den Absender nicht für fristgebundene Mitteilungen geeignet sind. Fristgebundene Mitteilungen sind daher ausschließlich per Post oder per Telefax zu übersenden. | |
| This message (including any attachments) is confidential and may be privileged. It may be read, copied and used only by the intended recipient. If you have received it in error please contact the sender (by return E-Mail) immediately and delete this message. Any unauthorised use or dissemination of this message in whole or in part is strictly prohibited. Please note that, for organisational reasons, the personal E-Mail address of the sender is not available for matters subject to a deadline. Please send, therefore, matters subject to deadline exclusively by mail or by fax. |
that is OK. the only thing is that we need to stay backward compatible, i.e. if the method in RestService interface declares void that the generated implementation should not return anything. if the method returns Request then the generated code should just return that. - christian
--
You received this message because you are subscribed to the Google Groups "RestyGWT" group.
To unsubscribe from this group and stop receiving emails from it, send an email to restygwt+u...@googlegroups.com.
On 01/02/14 17:45, Siamak Haschemi wrote:Hi Christian,
it seems that it is enough to let the service method return a Request-Object. On the Request-Object, I can call „cancel“. Did I miss something?
that is OK. the only thing is that we need to stay backward compatible,
i.e. if the method in RestService interface declares void that the
generated implementation should not return anything. if the method
returns Request then the generated code should just return that.
- christian
--
You received this message because you are subscribed to the Google Groups "RestyGWT" group.
To unsubscribe from this group and stop receiving emails from it, send an email to restygwt+u...@googlegroups.com.